Commit Graph

38266 Commits

Author SHA1 Message Date
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
Jakub Jelinek
6446106eb7 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
2001-10-30 19:14:20 +01: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
Bryce McKinlay
415c055a2a jni.cc (JNI_CreateJavaVM): Call _Jv_CreateJavaVM.
* jni.cc (JNI_CreateJavaVM): Call _Jv_CreateJavaVM. Don't call
        _Jv_JNI_Init.

From-SVN: r46633
2001-10-30 10:14:48 +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
Zack Weinberg
bae5261adb 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
2001-10-30 04:27:17 +00:00
Kaveh R. Ghazi
b016d07e15 combine.c (num_sign_bit_copies): Avoid signed/unsigned warnings.
* combine.c (num_sign_bit_copies): Avoid signed/unsigned
	warnings.

From-SVN: r46625
2001-10-30 03:24:08 +00:00
Kaveh R. Ghazi
1ac0469598 * sparc/sol2.h: Include <sys/mman.h> when L_trampoline is defined.
From-SVN: r46624
2001-10-30 03:11:45 +00:00
Richard Kenner
cd7c9015a6 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
2001-10-29 19:19:58 -05:00
DJ Delorie
f3597919c5 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
2001-10-29 18:09:43 -05:00
Joseph Myers
684d9f3beb 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
2001-10-29 23:01:45 +00:00
Joseph Myers
affd4f3309 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
2001-10-29 22:13:41 +00:00
Joseph Myers
686deecbf3 * c-parse.in (expr_no_commas, primary), c-typeck.c
(parser_build_binary_op): Use IS_EXPR_CODE_CLASS.

From-SVN: r46619
2001-10-29 22:12:07 +00:00
Tom Tromey
0db58ea45f 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
2001-10-29 21:50:07 +00:00
David Edelsohn
54ee97997a Undo assemble_name change in earlier patch.
From-SVN: r46617
2001-10-29 16:29:30 -05:00
Nicola Pero
26e51caa4d Rewritten from scratch class lookup internals - getting a good performance
boost for class method invocations

From-SVN: r46616
2001-10-29 21:24:48 +00:00
Nicola Pero
2726bdbaac Rewritten all the internals - great performance boost.
From-SVN: r46615
2001-10-29 21:23:31 +00:00
Nicola Pero
3df95b7b7c New objc tests
From-SVN: r46614
2001-10-29 21:00:46 +00:00
Nicola Pero
92bcd93d73 Improved compiler checkings for ObjC + GNU runtime when sending messages
to self in class methods

From-SVN: r46613
2001-10-29 20:54:45 +00:00
Nicola Pero
5286a9ceff (GNU runtime only) statically type `self' in a class method context to be
the class the method belongs to

From-SVN: r46612
2001-10-29 20:51:04 +00:00
John David Anglin
4ff3bd5f75 * pa.md (floatunssisf2): Set subreg 0 of operand 2 to zero.
From-SVN: r46611
2001-10-29 19:48:20 +00:00
Benjamin Kosnik
99e9125d77 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
2001-10-29 19:29:29 +00:00
Geert Bosch
4565903525 * 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
2001-10-29 18:45:03 +01:00
Toon Moene
4b77bfab08 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
2001-10-29 17:41:16 +00:00
Richard Kenner
15228eb606 * Makefile.in (OBJS): Put all files in alphabetical order.
From-SVN: r46607
2001-10-29 09:34:18 -05:00
Richard Kenner
94784fb92a 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
2001-10-29 07:24:17 -05:00
Jan Hubicka
473fb060f3 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
2001-10-29 11:45:45 +00:00
GCC Administrator
4fdaa8786f Daily bump.
From-SVN: r46602
2001-10-29 08:16:23 +00:00
Joseph Myers
4d42a8ae2e * update_web_docs: Generate libiberty and gnat-style manuals.
From-SVN: r46601
2001-10-29 01:30:31 +00:00
David Edelsohn
d2574c50f6 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
2001-10-28 16:45:46 -05:00
Richard Kenner
ce2d32cd37 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
2001-10-28 15:42:29 -05:00
Joseph Myers
ff7cc30768 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
2001-10-28 20:09:17 +00:00
Joseph Myers
306ef64467 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
2001-10-28 19:25:00 +00:00
Joseph Myers
0c688a7d77 * doc/extend.texi, doc/invoke.texi: Fix spelling.
From-SVN: r46591
2001-10-28 19:12:12 +00:00
Joseph Myers
67dda4b520 * doc/gcc.texi: Document use of "dependent" and American spelling.
From-SVN: r46589
2001-10-28 18:59:25 +00:00
Jan Hubicka
58f698416a 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
2001-10-28 16:10:12 +00:00