DJ Delorie [Wed, 31 Oct 2001 21:08:00 +0000 (16:08 -0500)]
mips.h (mips_cache_flush_func): Prototype.
* config/mips/mips.h (mips_cache_flush_func): Prototype.
(TARGET_OPTIONS): Support -mflush-func= and -mno-flush-func.
(INITIALIZE_TRAMPOLINE): Use mips_cache_flush_func if nonzero.
* config/mips/mips.c (mips_cache_flush_func): New.
* doc/invoke.texi: Document the new options.
From-SVN: r46686
Benjamin Kosnik [Wed, 31 Oct 2001 20:05:33 +0000 (20:05 +0000)]
codecvt.h: Add virtual member function declarations.
2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/4749
* include/bits/codecvt.h: Add virtual member function declarations.
* src/codecvt.cc: Tweaks.
* testsuite/22_locale/codecvt.cc: Test compilation only,
non-required facets not required to have linkage.
From-SVN: r46685
Hans-Peter Nilsson [Wed, 31 Oct 2001 19:57:53 +0000 (19:57 +0000)]
cris.c: Include output.h after tree.h but before target.h.
* config/cris/cris.c: Include output.h after tree.h but before
target.h.
From-SVN: r46684
Hans-Peter Nilsson [Wed, 31 Oct 2001 19:54:02 +0000 (19:54 +0000)]
* config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
From-SVN: r46683
Hans-Peter Nilsson [Wed, 31 Oct 2001 19:50:59 +0000 (19:50 +0000)]
config.gcc (cris-*-linux*, tm_file): Rearrange order.
* config.gcc (cris-*-linux*, tm_file): Rearrange order.
* config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
From-SVN: r46682
Zack Weinberg [Wed, 31 Oct 2001 17:40:07 +0000 (17:40 +0000)]
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
Kazu Hirata [Wed, 31 Oct 2001 16:33:03 +0000 (16:33 +0000)]
* config/h8300/h8300.md (two anonymous patterns): New.
From-SVN: r46679
Aldy Hernandez [Wed, 31 Oct 2001 15:28:41 +0000 (15:28 +0000)]
tree.h (tree_index): Add support for V16QI and V8HI.
* tree.h (tree_index): Add support for V16QI and V8HI.
(V8HI_type_node): New.
(V16QI_type_node): New.
From-SVN: r46678
Kazu Hirata [Wed, 31 Oct 2001 14:32:30 +0000 (14:32 +0000)]
att.h: Fix comment formatting.
* config/i386/att.h: Fix comment formatting.
* config/i386/beos-elf.h: Likewise.
* config/i386/bsd.h: Likewise.
* config/i386/bsd386.h: Likewise.
* config/i386/crtdll.h: Likewise.
* config/i386/cygwin.asm: Likewise.
* config/i386/cygwin.h: Likewise.
* config/i386/djgpp.h: Likewise.
* config/i386/freebsd-aout.h: Likewise.
* config/i386/freebsd.h: Likewise.
* config/i386/gas.h: Likewise.
* config/i386/i386-interix.h: Likewise.
* config/i386/i386-protos.h: Likewise.
* config/i386/i386.c: Likewise.
* config/i386/i386.h: Likewise.
* config/i386/i386.md: Likewise.
* config/i386/i386elf.h: Likewise.
* config/i386/interix.c: Likewise.
* config/i386/isc.h: Likewise.
* config/i386/isccoff.h: Likewise.
* config/i386/iscdbx.h: Likewise.
* config/i386/linux.h: Likewise.
* config/i386/lynx.h: Likewise.
* config/i386/mingw32.h: Likewise.
* config/i386/netbsd-elf.h: Likewise.
* config/i386/next.h: Likewise.
* config/i386/osf1elf.h: Likewise.
* config/i386/osfrose.h: Likewise.
* config/i386/sco5.h: Likewise.
* config/i386/seq-gas.h: Likewise.
* config/i386/seq-sysv3.h: Likewise.
* config/i386/sequent.h: Likewise.
* config/i386/sol2.h: Likewise.
* config/i386/sun386.h: Likewise.
* config/i386/uwin.asm: Likewise.
* config/i386/uwin.h: Likewise.
* config/i386/vxi386.h: Likewise.
* config/i386/win32.h: Likewise.
* config/i386/winnt.c: Likewise.
* config/i386/xm-cygwin.h: Likewise.
* config/i386/xm-mingw32.h: Likewise.
From-SVN: r46677
Kazu Hirata [Wed, 31 Oct 2001 14:08:11 +0000 (14:08 +0000)]
builtins.def: Fix comment typos.
2001-10-31 Kazu Hirata <kazu@hxi.com>
* builtins.def: Fix comment typos.
* config/alpha.c: Likewise.
* config/arm/arm.c: Likewise.
* config/avr/avr.h: Likewise.
* config/d30v/d30v.c: Likewise.
* config/d30v/d30v.h: Likewise.
* config/d30v/d30v.md: Likewise.
* config/dsp16xx/dsp16xx.c: Likewise.
* config/fr30/fr30.c: Likewise.
* config/fr30/fr30.md: Likewise.
* config/i386/i386.c: Likewise.
* config/i860/i860.c: Likewise.
* config/i960/i960.c: Likewise.
* config/ia64/ia64.c: Likewise.
* config/mips/mips.c: Likewise.
* config/pa/pa.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/s390/s390.c: Likewise.
* config/sparc/sparc.c: Likewise.
From-SVN: r46676
Edward E. Meyer [Wed, 31 Oct 2001 08:45:57 +0000 (08:45 +0000)]
std_complex.h (complex::operator/=): Correct sign.
2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
libstdc++/4622
* include/bits/std_complex.h (complex::operator/=): Correct sign.
From-SVN: r46675
Paolo Carlini [Wed, 31 Oct 2001 08:27:20 +0000 (09:27 +0100)]
basic_string.h: Tweaks.
2001-10-30 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_string.h: Tweaks.
* include/bits/basic_string.tcc (string::_M_replace(iterator,
iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
* src/string-inst.cc: Tweaks, add instantiation.
* testsuite/21_strings/replace.cc (test02): Add test.
* testsuite/21_strings/assign.cc (test01): New file.
0
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r46674
GCC Administrator [Wed, 31 Oct 2001 08:16:10 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46672
Kazu Hirata [Wed, 31 Oct 2001 04:12:47 +0000 (04:12 +0000)]
Fix typos in ChangeLog.
From-SVN: r46671
Kazu Hirata [Wed, 31 Oct 2001 04:08:19 +0000 (04:08 +0000)]
elf.h: Fix comment formatting.
* config/elf.h: Fix comment formatting.
* config/elf64.h: Likewise.
* config/iris5.h: Likewise.
* config/iris5gas.h: Likewise.
* config/iris6.h: Likewise.
* config/isa3264.h: Likewise.
* config/linux.h: Likewise.
* config/mips.c: Likewise.
* config/mips.h: Likewise.
* config/mips.md: Likewise.
* config/mips16.S: Likewise.
* config/netbsd.h: Likewise.
* config/osfrose.h: Likewise.
* config/r3900.h: Likewise.
* config/sni-svr4.h: Likewise.
* config/svr4-t.h: Likewise.
* config/ultrix.h: Likewise.
From-SVN: r46670
Daniel Berlin [Wed, 31 Oct 2001 03:01:17 +0000 (03:01 +0000)]
bitmap.c (bitmap_element_free): Don't forget to update head->indx when we update head->current.
2001-10-30 Daniel Berlin <dan@cgsoftware.com>
* bitmap.c (bitmap_element_free): Don't forget to update head->indx
when we update head->current.
From-SVN: r46669
Joseph Myers [Wed, 31 Oct 2001 00:59:40 +0000 (00:59 +0000)]
ChangeLog, [...]: Fix spelling errors.
* ChangeLog, actions.c, ch-tree.def, decl.c, except.c, inout.c,
tasking.c, typeck.c: Fix spelling errors.
From-SVN: r46668
Robert Dewar [Wed, 31 Oct 2001 00:54:36 +0000 (00:54 +0000)]
* style.adb:
(Check_Identifier): Rewrite circuit to be compatible with use of letters
in the upper half of ASCII.
(Check_Identifier): Minor reformatting
From-SVN: r46667
Geert Bosch [Wed, 31 Oct 2001 00:49:13 +0000 (01:49 +0100)]
(Associated_Node, [...]): Do not check for Freeze_Entity.
* (Associated_Node, Set_Associated_Node): Do not check for
Freeze_Entity.
From-SVN: r46666
Joseph Myers [Wed, 31 Oct 2001 00:48:17 +0000 (00:48 +0000)]
HACKING, [...]: Fix spelling errors.
* HACKING, gnu/gcj/xlib/Pixmap.java, gnu/gcj/xlib/XException.java,
gnu/java/rmi/rmic/RMIC.java, java/awt/Window.java,
java/awt/AWTEvent.java, java/io/ByteArrayOutputStream.java,
java/io/CharConversionException.java,
java/io/PipedInputStream.java, java/io/PipedReader.java,
java/io/PrintWriter.java, java/io/WriteAbortedException.java,
java/io/natFileWin32.cc, java/lang/Class.h,
java/lang/natClassLoader.cc, java/lang/natObject.cc,
java/lang/Package.java, java/net/BindException.java,
java/net/ConnectException.java, java/net/ProtocolException.java,
java/net/SocketException.java,
java/net/UnknownServiceException.java,
java/security/cert/X509Certificate.java,
java/security/interfaces/DSAKey.java,
java/security/SecureRandom.java, java/security/SignedObject.java,
java/sql/DatabaseMetaData.java,
java/text/DecimalFormatSymbols.java,
java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/Calendar.java,
java/util/Collections.java, java/util/GregorianCalendar.java,
java/util/HashMap.java, java/util/List.java,
java/util/Properties.java, java/util/Timer.java,
java/util/Vector.java, java/util/WeakHashMap.java,
javax/naming/NamingException.java,
testsuite/libjava.lang/Thread_Wait.java,
org/xml/sax/helpers/DefaultHandler.java,
org/xml/sax/HandlerBase.java, org/xml/sax/SAXParseException.java,
ChangeLog, acinclude.m4, aclocal.m4, posix-threads.cc: Fix
spelling errors.
* configure: Regenerate.
From-SVN: r46665
Robert Dewar [Wed, 31 Oct 2001 00:29:14 +0000 (00:29 +0000)]
* a-reatim.ads: Minor reformatting
From-SVN: r46664
Robert Dewar [Wed, 31 Oct 2001 00:26:02 +0000 (00:26 +0000)]
gnatdll.adb: Minor reformatting throughout.
* gnatdll.adb: Minor reformatting throughout. Many ??? added for
undocumented declarations.
From-SVN: r46663
Pascal Obry [Wed, 31 Oct 2001 00:21:37 +0000 (00:21 +0000)]
gnatdll.adb (Parse_Command_Line): handle -g option to be passed to the binder and linker.
* gnatdll.adb (Parse_Command_Line): handle -g option to be passed
to the binder and linker.
Minor style fix.
* mdll.ads: Fix layout. Update copyright notice.
* mdll.adb: Fix layout. Update copyright notice.
From-SVN: r46662
Robert Dewar [Wed, 31 Oct 2001 00:13:54 +0000 (00:13 +0000)]
* usage.adb: Minor fix to output for -gnaty.
From-SVN: r46661
Ed Schonberg [Wed, 31 Oct 2001 00:07:54 +0000 (00:07 +0000)]
a-reatim.ads: Makes Seconds_Count into a 64-bit integer, to accommodate all its possible values.
* a-reatim.ads: Makes Seconds_Count into a 64-bit integer,
to accommodate all its possible values.
* a-reatim.adb (Split): Special-case handling of Time_Span_First
and of small absolute values of T.
From-SVN: r46660
Richard Kenner [Tue, 30 Oct 2001 23:47:02 +0000 (23:47 +0000)]
misc.c (gnat_expand_expr, [...]): Remove call to set_mem_attributes since not needed and wrong if RESULT if a REG...
* misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to
set_mem_attributes since not needed and wrong if RESULT if a REG;
fixes ACATS failures.
From-SVN: r46659
Geert Bosch [Tue, 30 Oct 2001 23:26:09 +0000 (00:26 +0100)]
86numaux.adb, [...]: Add 2001 to copyright notice.
* 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads,
s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice.
From-SVN: r46658
Robert Dewar [Tue, 30 Oct 2001 23:12:48 +0000 (23:12 +0000)]
bindusg.adb: Undocument -f switch.
* bindusg.adb: Undocument -f switch.
* gnatcmd.adb: Remove /FULL_ELABORATION.
* opt.ads (Force_RM_Elaboration_Order): Document that this is
obsolescent.
* gnatbind.adb: Output new warning for use of obsolescent -f switch.
* gnatbind.adb: Minor update of warning msg.
From-SVN: r46657
Dale Johannesen [Tue, 30 Oct 2001 23:12:39 +0000 (23:12 +0000)]
Add myself.
From-SVN: r46656
Vincent Celier [Tue, 30 Oct 2001 22:51:10 +0000 (22:51 +0000)]
gnatcmd.adb (MAKE, [...]): Add translations for project file switches (-P (/PROJECT_FILE=)...
* gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations
for project file switches (-P (/PROJECT_FILE=),
-X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT
or MEDIUM or HIGH)
From-SVN: r46655
Geert Bosch [Tue, 30 Oct 2001 21:33:07 +0000 (22:33 +0100)]
* decl.c: Minor whitespace fixes.
From-SVN: r46654
Richard Kenner [Tue, 30 Oct 2001 21:27:26 +0000 (21:27 +0000)]
* utils2.c (build_allocator): Test for SIZE overflow in array case too
From-SVN: r46653
Geert Bosch [Tue, 30 Oct 2001 21:16:50 +0000 (22:16 +0100)]
ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
* ali-util.adb (Initialize_Checksum): Use out-mode instead of in out.
Found due to GCC 3.0 warning of using uninitialized value.
* layout.adb:
(Get_Max_Size): Use variant record for tracking value/expression.
Makes logic clearer and prevents warnings for uninitialized variables.
(Layout_Array_Type): Use variant record for tracking value/expression.
Makes logic clearer and prevents warnings for uninitialized variables.
From-SVN: r46652
Robert Dewar [Tue, 30 Oct 2001 20:56:09 +0000 (20:56 +0000)]
lib.adb: Minor reformatting
* lib.adb: Minor reformatting
* s-taprop.ads: Minor reformatting
From-SVN: r46651
Neil Booth [Tue, 30 Oct 2001 19:32:16 +0000 (19:32 +0000)]
tree.c (id_string_size): Remove.
* tree.c (id_string_size): Remove.
(dump_tree_statistics): Update.
* toplev.c (compile_file): If dumping stats, dump tree stats too.
From-SVN: r46648
Jakub Jelinek [Tue, 30 Oct 2001 18:14:20 +0000 (19:14 +0100)]
stl_deque.h (_M_new_elements_at_front): Use __throw_exception_again.
* include/bits/stl_deque.h (_M_new_elements_at_front): Use
__throw_exception_again.
(_M_new_elements_at_back): Likewise.
From-SVN: r46647
Jan Hubicka [Tue, 30 Oct 2001 18:01:53 +0000 (19:01 +0100)]
* sched-rgn.c (schedule_insns): Fix comment.
From-SVN: r46646
Zack Weinberg [Tue, 30 Oct 2001 16:47:25 +0000 (16:47 +0000)]
configure.in: Correct previous change...
* configure.in: Correct previous change: don't assume that
gas's version number _isn't_ the last thing on the line, or
isn't the only number on the line, either.
* configure: Regenerate.
From-SVN: r46643
Jakub Jelinek [Tue, 30 Oct 2001 16:41:10 +0000 (17:41 +0100)]
* gcc.c-torture/compile/
20011029-1.c: New test.
From-SVN: r46642
Kazu Hirata [Tue, 30 Oct 2001 15:10:46 +0000 (15:10 +0000)]
* cfgcleanup.c: Fix a comment typo.
From-SVN: r46641
Kazu Hirata [Tue, 30 Oct 2001 15:01:50 +0000 (15:01 +0000)]
alias.c: Fix comment formatting.
* alias.c: Fix comment formatting.
* recog.c: Likewise.
* config/cris/cris.c: Likewise.
* config/cris/cris.h: Likewise.
* config/i960/i960.c: Likewise.
* config/i960/i960.h: Likewise.
From-SVN: r46640
Kazu Hirata [Tue, 30 Oct 2001 14:26:35 +0000 (14:26 +0000)]
Fix a typo in ChangeLog.
From-SVN: r46639
Kazu Hirata [Tue, 30 Oct 2001 14:18:33 +0000 (14:18 +0000)]
arm.c: Fix comment a typo.
* config/arm/arm.c: Fix comment a typo.
* config/arm/arm.h: Likewise.
* config/ia64/ia64.c: Likewise.
From-SVN: r46638
Jakub Jelinek [Tue, 30 Oct 2001 12:45:11 +0000 (13:45 +0100)]
New test.
From-SVN: r46637
Jakub Jelinek [Tue, 30 Oct 2001 12:41:45 +0000 (13:41 +0100)]
emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or REG_EQUIV notes for ASM_OPERANDS.
* emit-rtl.c (set_unique_reg_note): Don't create REG_EQUAL or
REG_EQUIV notes for ASM_OPERANDS. Return the new note (if any).
* rtl.h (set_unique_reg_note): Change return value.
* gcse.c (try_replace_reg): Use set_unique_reg_note.
* cse.c (cse_insn): Likewise.
* expr.c (emit_move_insn): Likewise.
* explow.c (force_reg): Likewise.
* local-alloc (update_equiv_regs): Likewise.
* loop.c (move_moveables, load_mems): Likewise.
* reload (find_reloads): Likewise.
* gcc.dg/
20011029-2.c: New test.
From-SVN: r46636
Paolo Bonzini [Tue, 30 Oct 2001 12:14:28 +0000 (12:14 +0000)]
Localization fixes.
2001-10-30 Paolo Bonzini <bonzini@gnu.org>
Localization fixes.
* c-decl.c (parmlist_tags_warning, start_struct,
check_for_loop_decls): Separate messages for struct, union and
enum cases to allow for languages in which they have different
genders.
* c-format.c (scanf_flag_specs): Separate short and long name of
the assignment suppression feature.
(check_format_types): Localize "pointer" and "different types"
strings.
* c-lex.c (lex_number): Localize "an unsigned long int" and
related strings.
(lex_string) [MULTIBYTE_CHARS]: Use initial lowercase letter on
warning message.
* c-typeck.c (build_unary_up): Separate messages for increment and
decrement cases to allow for languages in which they use different
articles. Localize the strings "increment" and "decrement" in one
case.
From-SVN: r46635
Jan Hubicka [Tue, 30 Oct 2001 11:13:49 +0000 (12:13 +0100)]
lcm.c (optimize_mode_switching): Do not rebuild liveness information when no changes has been made.
* lcm.c (optimize_mode_switching): Do not rebuild liveness information
when no changes has been made.
* gcse.c (reg_set_bitmap): Turn into reg_set.
(modify_mem_list_set, canon_modify_mem_list_set)
(clear_modify_mem_tables, free_modify_mem_tables): New.
(gcse_main); Use free_modify_mem_tables.
(free_gcse_mem): Likewise; free the bitmaps.
(alloc_gcse_main): Initialize the bitmaps.
(canon_list_insert): Set canon_modify_mem_list_set.
(record_last_mem_set_info): Likewise; set modify_mem_list_set.
(compute_hash_table): Use clear_modify_mem_tables.
(reset_opr_set_tables): Likewise.
(oprs_not_set_p): reg_set_bitmap is regset.
(mark_set, mark_clobber): Likewise.
* df.h (DF_EQUIV_NOTES): New constant.
(df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
when asked for.
* sched-rgn.c (CHECK_DEAD_NOTES): New constant.
(init_regions, schedule_insns): Conditionalize the checking
code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
From-SVN: r46634
Bryce McKinlay [Tue, 30 Oct 2001 10:14:48 +0000 (10:14 +0000)]
jni.cc (JNI_CreateJavaVM): Call _Jv_CreateJavaVM.
* jni.cc (JNI_CreateJavaVM): Call _Jv_CreateJavaVM. Don't call
_Jv_JNI_Init.
From-SVN: r46633
Jan Hubicka [Tue, 30 Oct 2001 10:03:42 +0000 (11:03 +0100)]
* i386.md (movti_rex64 splitter): Fix condition.
From-SVN: r46632
GCC Administrator [Tue, 30 Oct 2001 08:16:13 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46630
Zack Weinberg [Tue, 30 Oct 2001 04:57:42 +0000 (04:57 +0000)]
configure.in: Do not assume that gas's version number is the last thing on the first line of...
* configure.in: Do not assume that gas's version number is the
last thing on the first line of as --version output.
* configure: Regenerate.
From-SVN: r46629
Bryce McKinlay [Tue, 30 Oct 2001 04:43:16 +0000 (04:43 +0000)]
re PR java/4717 (miscompiling class reference)
* mangle.c (find_compression_record_match): Don't match compression
records for package name elements unless they occur at the start of
the name. Fix for PR java/4717.
From-SVN: r46628
Zack Weinberg [Tue, 30 Oct 2001 04:43:03 +0000 (04:43 +0000)]
tradcpp.c: Include intl.h.
* tradcpp.c: Include intl.h. Rename WARNING, ERROR, FATAL to
MT_WARNING, MT_ERROR, MT_FATAL.
(main): Call gcc_init_libintl.
(v_message): Call gettext on msgid and "warning: "
* tradcif.y: Include intl.h.
(yyerror): Make parameter definition consistent with
prototype. Call gettext on msgid argument.
From-SVN: r46627
Zack Weinberg [Tue, 30 Oct 2001 04:27:17 +0000 (04:27 +0000)]
convert.c, [...]: Use /* */ for all commentary, not #if 0 ...
* convert.c, inout.c, loop.c, nloop.c, tasking.c, timing.c,
typeck.c: Use /* */ for all commentary, not #if 0 ... #endif.
Change the nested comments this creates to // notation.
Un-double apostrophes.
From-SVN: r46626
Kaveh R. Ghazi [Tue, 30 Oct 2001 03:24:08 +0000 (03:24 +0000)]
combine.c (num_sign_bit_copies): Avoid signed/unsigned warnings.
* combine.c (num_sign_bit_copies): Avoid signed/unsigned
warnings.
From-SVN: r46625
Kaveh R. Ghazi [Tue, 30 Oct 2001 03:11:45 +0000 (03:11 +0000)]
* sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
From-SVN: r46624
Richard Kenner [Tue, 30 Oct 2001 00:19:58 +0000 (00:19 +0000)]
reload1.c (eliminate_regs): Test for reg_renumber being allocated before referencing it.
* reload1.c (eliminate_regs): Test for reg_renumber being allocated
before referencing it.
From-SVN: r46623
DJ Delorie [Mon, 29 Oct 2001 23:09:43 +0000 (18:09 -0500)]
sysv4.h (LINK_SPEC): Allow -msdata=none to override -G, and force -G0.
* config/rs6000/sysv4.h (LINK_SPEC): Allow -msdata=none to
override -G, and force -G0.
From-SVN: r46622
Joseph Myers [Mon, 29 Oct 2001 23:01:45 +0000 (23:01 +0000)]
ChangeLog.2, [...]: Fix spelling errors and typos.
* ChangeLog.2, ChangeLog.3, ChangeLog.4, FSFChangeLog.10,
FSFChangeLog.11, c-common.c, c-common.def, c-common.h, c-decl.c,
c-dump.c, c-typeck.c, except.c, sdbout.c, simplify-rtx.c,
timevar.h, tree.h, varasm.c: Fix spelling errors and typos.
From-SVN: r46621
Joseph Myers [Mon, 29 Oct 2001 22:13:41 +0000 (22:13 +0000)]
loop.h (struct induction): Rename ext_dependant to ext_dependent.
* loop.h (struct induction): Rename ext_dependant to
ext_dependent.
* loop.c: Change all uses.
(check_ext_dependant_givs): Rename to check_ext_dependent_givs.
All callers changed.
* timevar.c (DEFTIMEVAR): Fix spelling of identifier__ parameter.
From-SVN: r46620
Joseph Myers [Mon, 29 Oct 2001 22:12:07 +0000 (22:12 +0000)]
* c-parse.in (expr_no_commas, primary), c-typeck.c
(parser_build_binary_op): Use IS_EXPR_CODE_CLASS.
From-SVN: r46619
Tom Tromey [Mon, 29 Oct 2001 21:50:07 +0000 (21:50 +0000)]
re PR libgcj/4728 (java.util.zip.GZIPOutputStream.write(int) doesn't update CRC)
* java/util/zip/GZIPOutputStream.java (write(int)): New method.
Fixes PR libgcj/4728.
From-SVN: r46618
David Edelsohn [Mon, 29 Oct 2001 21:29:30 +0000 (16:29 -0500)]
Undo assemble_name change in earlier patch.
From-SVN: r46617
Nicola Pero [Mon, 29 Oct 2001 21:24:48 +0000 (21:24 +0000)]
Rewritten from scratch class lookup internals - getting a good performance
boost for class method invocations
From-SVN: r46616
Nicola Pero [Mon, 29 Oct 2001 21:23:31 +0000 (21:23 +0000)]
Rewritten all the internals - great performance boost.
From-SVN: r46615
Nicola Pero [Mon, 29 Oct 2001 21:00:46 +0000 (22:00 +0100)]
New objc tests
From-SVN: r46614
Nicola Pero [Mon, 29 Oct 2001 20:54:45 +0000 (20:54 +0000)]
Improved compiler checkings for ObjC + GNU runtime when sending messages
to self in class methods
From-SVN: r46613
Nicola Pero [Mon, 29 Oct 2001 20:51:04 +0000 (20:51 +0000)]
(GNU runtime only) statically type `self' in a class method context to be
the class the method belongs to
From-SVN: r46612
John David Anglin [Mon, 29 Oct 2001 19:48:20 +0000 (19:48 +0000)]
* pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
From-SVN: r46611
Benjamin Kosnik [Mon, 29 Oct 2001 19:29:29 +0000 (19:29 +0000)]
fstream.tcc (filebuf::showmanyc): Simplify.
2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3647
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
* testsuite/27_io/filebuf.cc (test07): New test.
(test03): Modify showmanyc test.
From-SVN: r46610
Geert Bosch [Mon, 29 Oct 2001 17:45:03 +0000 (18:45 +0100)]
* init.c:
(Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg
const.
(_gnat_error_handler): Make MSG const.
* sysdep.c: Fix localtime_r problem on LynxOS.
Also remove #elif to avoid warnings.
* misc.c (yyparse): Don't set up and register jmpbuf; remove decls
used by this.
* decl.c (annotate_value): Make SIZE unsigned to avoid warning.
From-SVN: r46609
Toon Moene [Mon, 29 Oct 2001 17:41:16 +0000 (18:41 +0100)]
news.texi: Document new ability to compile programs with arrays larger than 512 Mbyte on...
2001-10-29 Toon Moene <toon@moene.indiv.nluug.nl>
* news.texi: Document new ability to compile programs with
arrays larger than 512 Mbyte on 32-bit targets.
From-SVN: r46608
Richard Kenner [Mon, 29 Oct 2001 14:34:18 +0000 (14:34 +0000)]
* Makefile.in (OBJS): Put all files in alphabetical order.
From-SVN: r46607
Richard Kenner [Mon, 29 Oct 2001 12:24:17 +0000 (12:24 +0000)]
dwarf2out.c (add_const_value_attribute): Fix error in last change.
* dwarf2out.c (add_const_value_attribute): Fix error in last
change.
From-SVN: r46606
Jan Hubicka [Mon, 29 Oct 2001 11:45:45 +0000 (12:45 +0100)]
basic-block.h (purge_all_dead_edges): Add update_life_p argument.
* basic-block.h (purge_all_dead_edges): Add update_life_p argument.
* cfgcleanup.c (merge_blocks): Update the life flag after merging;
fix warning.
* cfgrtl.c (purge_all_dead_edges): Allow updating of liveness.
(life_analysis): call purge_all_dead_edges after deleting noops.
(delete_noop_move): Do not purge CFG.
* toplev.c (rest_of_compilation): Update purge_all_dead_edges call.
From-SVN: r46605
GCC Administrator [Mon, 29 Oct 2001 08:16:23 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r46602
Joseph Myers [Mon, 29 Oct 2001 01:30:31 +0000 (01:30 +0000)]
* update_web_docs: Generate libiberty and gnat-style manuals.
From-SVN: r46601
David Edelsohn [Sun, 28 Oct 2001 21:45:46 +0000 (21:45 +0000)]
aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
* config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use assemble_name.
* config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME): Delete.
(ASM_GLOBALIZE_LABEL): Use assemble_name.
(ASM_OUTPUT_COMMON): Likewise.
* config/rs6000/rs6000.c (print_operand): Use assemble_name.
(rs6000_output_function_epilogue): Likewise.
(output_mi_thunk): Fix typo.
(rs6000_output_symbol_ref): Use assemble_name.
(output_toc): Likewise.
* config/rs6000/sysv4.h (RS6000_OUTPUT_BASENAME): Delete.
* config/rs6000/xcoff.h (RS6000_OUTPUT_BASENAME): Delete;
assemble_name calls STRIP_NAME_ENCODING.
(ASM_OUTPUT_LABEL): Use assemble_name.
(ASM_GLOBALIZE_LABEL): Likewise.
(ASM_DECLARE_FUNCTION_NAME): Likewise.
(ASM_OUTPUT_ALIGNED_COMMON): Indent pseudo-op. Use assemble_name.
(ASM_OUTPUT_LOCAL): Likewise.
From-SVN: r46600
Richard Kenner [Sun, 28 Oct 2001 20:42:29 +0000 (20:42 +0000)]
builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
* builtins.c (get_memory_rtx): Handle POINTERS_EXTEND_UNSIGNED case.
(expand_builtin_apply, expand_builtin_return): Likewise.
(expand_builtin_va_arg, expand_builtin_va_copy): Likewise.
From-SVN: r46598
Joseph Myers [Sun, 28 Oct 2001 20:09:17 +0000 (20:09 +0000)]
ChangeLog.0, [...]: Fix spelling errors.
* ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
ChangeLog.5, ChangeLog, FSFChangeLog.10, FSFChangeLog.11,
c-common.c, c-common.h, c-parse.in, c-typeck.c, cfg.c, config.gcc,
configure, configure.in, except.c, except.h, flow.c, function.c,
gcc.c, gcse.c, genrecog.c, libgcc2.c, loop.c, loop.h, params.def,
predict.def, predict.h, reg-stack.c, regmove.c, sched-deps.c,
sched-int.h, sibcall.c, ssa.c, stringpool.c, toplev.c, tree.c,
unroll.c: Fix spelling errors.
From-SVN: r46595
Joseph Myers [Sun, 28 Oct 2001 19:25:00 +0000 (19:25 +0000)]
ChangeLog.1, [...]: Fix spelling errors.
* ChangeLog.1, ChangeLog.2, ChangeLog, class.c, decl2.c, search.c,
semantics.c, spew.c: Fix spelling errors.
From-SVN: r46593
Joseph Myers [Sun, 28 Oct 2001 19:12:12 +0000 (19:12 +0000)]
* doc/extend.texi, doc/invoke.texi: Fix spelling.
From-SVN: r46591
Joseph Myers [Sun, 28 Oct 2001 18:59:25 +0000 (18:59 +0000)]
* doc/gcc.texi: Document use of "dependent" and American spelling.
From-SVN: r46589
Jan Hubicka [Sun, 28 Oct 2001 16:10:12 +0000 (17:10 +0100)]
expr.c (emit_group_load): Support CONCATs by storing them to memory and reloading.
* expr.c (emit_group_load): Support CONCATs by storing them to memory
and reloading.
From-SVN: r46586
Richard Kenner [Sun, 28 Oct 2001 16:06:17 +0000 (16:06 +0000)]
* expr.c (store_constructor_field): Only call adjust_address on MEM.
From-SVN: r46585
Jan Hubicka [Sun, 28 Oct 2001 16:00:22 +0000 (17:00 +0100)]
genrecog.c (write_switch): Output if before switch for DT_elt_zero_wide_safe.
* genrecog.c (write_switch): Output if before switch for
DT_elt_zero_wide_safe.
From-SVN: r46584
Kaveh R. Ghazi [Sun, 28 Oct 2001 14:01:20 +0000 (14:01 +0000)]
Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
* Makefile.in (toplev.o, halfpic.o): Depend on halfpic.h
* i386/osfrose.h (SUBTARGET_SWITCHES): Add missing comma.
(FUNCTION_PROFILER): Const-ify.
* halfpic.c: Include "expr.h", "output.h" and "halfpic.h".
(eliminate_constant_term, assemble_name, output_addr_const):
Remove declarations.
(ptr_half_pic_address_p, half_pic_hash): Prototype.
(all_refs, half_pic_prefix, half_pic_hash, half_pic_declare,
half_pic_external, half_pic_address_p, half_pic_ptr): Const-ify.
* halfpic.h (ptr_half_pic_address_p, half_pic_finish): Prototype.
(half_pic_declare, half_pic_external): Const-ify.
* toplev.c: Include "halfpic.h".
From-SVN: r46583
Joseph Myers [Sun, 28 Oct 2001 13:22:02 +0000 (13:22 +0000)]
alpha.md, [...]: Fix spelling errors.
* config/alpha/alpha.md, config/arm/arm.c, config/arm/arm.h,
config/d30v/d30v.h, config/fr30/fr30.c, config/i370/x-oe,
config/i386/i386.c, config/i386/i386-interix.h,
config/i386/i386.md, config/i386/i386.h, config/i386/sco5.h,
config/i860/i860.h, config/i860/i860.md, config/m68k/aux-exit.c,
config/m68k/m68k.c, config/mcore/mcore.c, config/mips/mips.md,
config/ns32k/ns32k.h, config/pa/pa.c, config/rs6000/rs6000.c,
config/sparc/sparc.c, config/m68hc11/m68hc11.c,
config/cris/cris.c, config/cris/cris.h, config/s390/s390.c,
config/s390/s390.h, config/stormy16/stormy16.h, doc/tm.texi: Fix
spelling errors.
From-SVN: r46582
Joseph Myers [Sun, 28 Oct 2001 12:56:08 +0000 (12:56 +0000)]
86numaux.adb, [...]: Fix spelling errors.
* 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb,
exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb,
g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads,
g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c,
layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads,
s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads,
sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb,
sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb,
sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads,
types.ads, urealp.adb: Fix spelling errors.
From-SVN: r46581
Joseph Myers [Sun, 28 Oct 2001 12:42:06 +0000 (12:42 +0000)]
ChangeLog.0, [...]: Fix spelling errors.
* ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
system.h, toplev.c: Fix spelling errors.
From-SVN: r46580
Joseph Myers [Sun, 28 Oct 2001 12:08:43 +0000 (12:08 +0000)]
* ChangeLog, configure: Fix spelling errors.
From-SVN: r46579
GCC Administrator [Sun, 28 Oct 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r46575
Richard Kenner [Sun, 28 Oct 2001 02:34:18 +0000 (02:34 +0000)]
* gcse.c (insert_insn_end_bb): Don't assume PAT is a SET.
From-SVN: r46574
Richard Kenner [Sun, 28 Oct 2001 02:30:03 +0000 (02:30 +0000)]
dwarf2out.c (reg_number): Abort if pseudo.
* dwarf2out.c (reg_number): Abort if pseudo.
(reg_loc_descriptor): Return 0 if pseudo.
(is_based_loc): Return 0 if pseudo.
(mem_loc_descriptor): Return 0 for pseudo and handle 0 return from
recursive calls.
(concat_loc_descriptor): Return 0 if either part's descriptor is 0.
(loc_descriptor): Return 0 if can't find location and handle 0
return from recursive calls.
(loc_descriptor_from_tree): Likewise.
Fix handling of indirect.
Also return 0 for PLACEHOLDER_EXPR.
Clean up COMPONENT_REF cases.
(add_AT_location_descriptor): Simplify, but handle 0 return from
loc_descriptor.
(add_const_value_attribute): Avoid shift count warning.
(add_bound_info): Remove test for PLACEHOLDER_EXPR here.
Set comp_unit_die as context if not in function.
From-SVN: r46573
Richard Kenner [Sat, 27 Oct 2001 22:41:00 +0000 (22:41 +0000)]
mips-protos.h: Break up long lines.
* config/mips/mips-protos.h: Break up long lines.
Remove needless #ifdef/#endif blocks.
Don't declare functions declared in file made by genpreds or recog.h.
* config/mips/mips.c (mips_output_function_prologue): TSIZE
is now HOST_WIDE_INT; delete unneeded casts.
* config/mips/mips.h: Don't use #elif.
From-SVN: r46572
Richard Kenner [Sat, 27 Oct 2001 21:30:46 +0000 (21:30 +0000)]
expr.c (stor_constructor_field): Always call adjust_address.
* expr.c (stor_constructor_field): Always call adjust_address.
Copy TARGET before changing its alias set.
(store_field): Likewise, for TO_RTX.
(get_inner_reference): Stop at PLACEHOLDER_EXPR if can't find
replacement.
(safe_from_p, case ADDR_EXPR): Properly check for conflict.
(find_placeholder): Return 0 if can't find object.
(expand_expr, case PLACEHOLDER_EXPR): Abort if find_placeholder
returns 0.
From-SVN: r46571
Tom Tromey [Sat, 27 Oct 2001 18:24:51 +0000 (18:24 +0000)]
jni.h (struct JNINativeInterface): Returns jsize, not jint.
* include/jni.h (struct JNINativeInterface) [GetStringLength]:
Returns jsize, not jint.
From-SVN: r46569
Jan Hubicka [Sat, 27 Oct 2001 14:33:12 +0000 (16:33 +0200)]
* ifcvt.c (if_convert): Call clear_aux_for_blocks.
From-SVN: r46568
Laurent Guerby [Sat, 27 Oct 2001 14:26:32 +0000 (14:26 +0000)]
trans.c (gigi): Fix non determinism leading to bootstrap comparison failures for debugging...
* trans.c (gigi): Fix non determinism leading to bootstrap
comparison failures for debugging information.
From-SVN: r46567
Florian Weimer [Sat, 27 Oct 2001 14:23:21 +0000 (16:23 +0200)]
* gnat_rm.texi: Use @./@: where appropriate.
From-SVN: r46566