Commit Graph

34235 Commits

Author SHA1 Message Date
Kazu Hirata 93cacb72d0 h8300.c (h8300_encode_label): Compute a string before passing it to ggc_alloc_string.
* config/h8300/h8300.c (h8300_encode_label): Compute a string
	before passing it to ggc_alloc_string.

From-SVN: r46695
2001-11-01 15:40:09 +00:00
Kazu Hirata 7a1929e1dc 3b1.h: Fix comment formatting.
* config/m68k/3b1.h: Fix comment formatting.
	* config/m68k/3b1g.h: Likewise.
	* config/m68k/a-ux.h: Likewise.
	* config/m68k/amix.h: Likewise.
	* config/m68k/apollo68.h: Likewise.
	* config/m68k/atari.h: Likewise.
	* config/m68k/aux-exit.c: Likewise.
	* config/m68k/ccur-GAS.h: Likewise.
	* config/m68k/crds.h: Likewise.
	* config/m68k/dpx2.h: Likewise.
	* config/m68k/dpx2g.h: Likewise.
	* config/m68k/hp310.h: Likewise.
	* config/m68k/hp320.h: Likewise.
	* config/m68k/isi.h: Likewise.
	* config/m68k/linux.h: Likewise.
	* config/m68k/lynx.h: Likewise.
	* config/m68k/m68k-psos.h: Likewise.
	* config/m68k/m68k.c: Likewise.
	* config/m68k/m68k.h: Likewise.
	* config/m68k/m68k.md: Likewise.
	* config/m68k/m68kelf.h: Likewise.
	* config/m68k/m68kv4.h: Likewise.
	* config/m68k/mot3300.h: Likewise.
	* config/m68k/news.h: Likewise.
	* config/m68k/next.h: Likewise.
	* config/m68k/pbb.h: Likewise.
	* config/m68k/plexus.h: Likewise.
	* config/m68k/sgs.h: Likewise.
	* config/m68k/sun3.h: Likewise.
	* config/m68k/tower.h: Likewise.
	* config/m68k/vxm68k.h: Likewise.

From-SVN: r46692
2001-11-01 14:49:33 +00:00
Stephane Carrez 9199347f9a 20010327-1.c: Use __SIZE_TYPE__ instead of unsigned long.
* gcc.c-torture/compile/20010327-1.c: Use __SIZE_TYPE__ instead
        of unsigned long.

From-SVN: r46689
2001-11-01 11:17:35 +01:00
GCC Administrator c1a31f6702 Daily bump.
From-SVN: r46687
2001-11-01 08:16:12 +00:00
DJ Delorie d490e8ad9f 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
2001-10-31 16:08:00 -05:00
Hans-Peter Nilsson 78b14aa62c 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
2001-10-31 19:57:53 +00:00
Hans-Peter Nilsson 2b371d2537 * config/cris/cris.h (EH_RETURN_DATA_REGNO): Fix formatting.
From-SVN: r46683
2001-10-31 19:54:02 +00:00
Hans-Peter Nilsson b4ac17fc36 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
2001-10-31 19:50:59 +00:00
Zack Weinberg 5b7874aa2e 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
2001-10-31 17:40:07 +00:00
Kazu Hirata 5fb566020a * config/h8300/h8300.md (two anonymous patterns): New.
From-SVN: r46679
2001-10-31 16:33:03 +00:00
Aldy Hernandez b63781e941 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
2001-10-31 15:28:41 +00:00
Kazu Hirata 892a2d681f 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
2001-10-31 14:32:30 +00:00
Kazu Hirata 5519a4f9b0 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
2001-10-31 14:08:11 +00:00
GCC Administrator 8f32f3ab9c Daily bump.
From-SVN: r46672
2001-10-31 08:16:10 +00:00
Kazu Hirata 54aa2c51dd Fix typos in ChangeLog.
From-SVN: r46671
2001-10-31 04:12:47 +00:00
Kazu Hirata 987ba558b0 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
2001-10-31 04:08:19 +00:00
Daniel Berlin 87a2e7a8a5 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
2001-10-31 03:01:17 +00:00
Joseph Myers ec3fd6be49 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
2001-10-31 00:59:40 +00:00
Robert Dewar 04a1b79c39 * 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
2001-10-31 01:54:36 +01:00
Geert Bosch 81fa2d3951 (Associated_Node, [...]): Do not check for Freeze_Entity.
* (Associated_Node, Set_Associated_Node): Do not check for
	Freeze_Entity.

From-SVN: r46666
2001-10-31 01:49:13 +01:00
Robert Dewar ffc5527fa5 * a-reatim.ads: Minor reformatting
From-SVN: r46664
2001-10-31 01:29:14 +01:00
Robert Dewar 865335eb76 gnatdll.adb: Minor reformatting throughout.
* gnatdll.adb: Minor reformatting throughout. Many ??? added for
	undocumented declarations.

From-SVN: r46663
2001-10-31 01:26:02 +01:00
Pascal Obry 5e25717852 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
2001-10-31 01:21:37 +01:00
Robert Dewar 1753e0ad5f * usage.adb: Minor fix to output for -gnaty.
From-SVN: r46661
2001-10-31 01:13:54 +01:00
Ed Schonberg 84bfdde054 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
2001-10-31 01:07:54 +01:00
Richard Kenner c296e5fc6c 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
2001-10-31 00:47:02 +01:00
Geert Bosch 07c809df76 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
2001-10-31 00:26:09 +01:00
Robert Dewar 54d2241679 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
2001-10-31 00:12:48 +01:00
Vincent Celier af5cf6f888 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
2001-10-30 23:51:10 +01:00
Geert Bosch 984bc4c317 * decl.c: Minor whitespace fixes.
From-SVN: r46654
2001-10-30 22:33:07 +01:00
Richard Kenner 5dece937ef * utils2.c (build_allocator): Test for SIZE overflow in array case too
From-SVN: r46653
2001-10-30 22:27:26 +01:00
Geert Bosch de4bf6cb94 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
2001-10-30 22:16:50 +01:00
Robert Dewar f5e44987a6 lib.adb: Minor reformatting
* lib.adb: Minor reformatting

	* s-taprop.ads: Minor reformatting

From-SVN: r46651
2001-10-30 21:56:09 +01:00
Neil Booth e717524703 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
2001-10-30 19:32:16 +00:00
Jan Hubicka 6bbdfefd6f * sched-rgn.c (schedule_insns): Fix comment.
From-SVN: r46646
2001-10-30 18:01:53 +00:00
Zack Weinberg 5fed851da8 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
2001-10-30 16:47:25 +00:00
Jakub Jelinek cfaef1166f * gcc.c-torture/compile/20011029-1.c: New test.
From-SVN: r46642
2001-10-30 17:41:10 +01:00
Kazu Hirata 79f5e6be8e * cfgcleanup.c: Fix a comment typo.
From-SVN: r46641
2001-10-30 15:10:46 +00:00
Kazu Hirata e5837c07d5 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
2001-10-30 15:01:50 +00:00
Kazu Hirata bc70506b60 Fix a typo in ChangeLog.
From-SVN: r46639
2001-10-30 14:26:35 +00:00
Kazu Hirata 3569057de3 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
2001-10-30 14:18:33 +00:00
Jakub Jelinek 9bf85ba535 New test.
From-SVN: r46637
2001-10-30 13:45:11 +01:00
Jakub Jelinek 3d23824843 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
2001-10-30 13:41:45 +01:00
Paolo Bonzini 53fcdc7677 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
2001-10-30 12:14:28 +00:00
Jan Hubicka 73991d6ae7 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
2001-10-30 11:13:49 +00:00
Jan Hubicka 4fe8523bca * i386.md (movti_rex64 splitter): Fix condition.
From-SVN: r46632
2001-10-30 10:03:42 +00:00
GCC Administrator 7968bdb0d4 Daily bump.
From-SVN: r46630
2001-10-30 08:16:13 +00:00
Zack Weinberg 0461a052b8 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
2001-10-30 04:57:42 +00:00
Bryce McKinlay 2b472f91ee 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
2001-10-30 04:43:16 +00:00
Zack Weinberg 79e2e1605e 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
2001-10-30 04:43:03 +00:00