1. 08 May, 2002 15 commits
    • Adjust copyright dates · 83b35bd1
      From-SVN: r53296
      Mark Mitchell committed
    • re PR c++/6381 (Missing assembler label) · 29b91443
              * dwarf2out.c (output_call_frame_info): Don't emit a CIE with no FDEs.
      
              * dwarf2out.c (gen_type_die): Abort on broken recursion.
      
              PR c++/6381
              * dwarf2out.c (rtl_for_decl_location): Only expand INTEGER_CST and
              REAL_CST.
      
      From-SVN: r53295
      Jason Merrill committed
    • Do not allow big-endian/little-endian multilibs to override arm/thumb multilibs. · 6c76b950
      Do not allow big-endian/little-endian multilibs to override arm/thumb
      multilibs.
      Do not build hardware floating point multilibs, nor apcs-26 multilibs for
      the Thumb.
      
      From-SVN: r53294
      Nick Clifton committed
    • re PR target/6569 (sparc-sun-solaris2.7 C testsuite regression in compile/20011119-2.c) · f90bf7ca
      	PR c/6569.
      	* varasm.c (mark_weak): New function.
      	(merge_weak): Use it.  Do not call declare_weak.
      	(declare_weak): Use merge_weak.
      
      	PR c/6569
      	* gcc.dg/weak-3.c: Update location of warning messages.
      	* gcc.dg/weak-5.c: Likewise.
      
      From-SVN: r53293
      Mark Mitchell committed
    • libjava.exp (test_libjava_from_javac): Append .exe to executable names. · 61b8fbec
      2002-05-09  David.Billinghurst  <David.Billinghurst@riotinto.com>
      
      	* testsuite/lib/libjava.exp (test_libjava_from_javac):
      	Append .exe to executable names.  Fix for cygwin.
      
      From-SVN: r53291
      David Billinghurst committed
    • Fix merge typos. · 3ae9b379
      From-SVN: r53288
      Jan Hubicka committed
    • cse.c (dead_libcall_p): Update counts. · 1e150f2c
      
      	* cse.c (dead_libcall_p): Update counts.
      	(delete_trivially_dead_insns): Update call of dead_libcall_p.
      
      From-SVN: r53287
      Jan Hubicka committed
    • cfglayout.c (function_tail_eff_head): Rename to ... · 969d70ca
      
      	* cfglayout.c (function_tail_eff_head): Rename to ...
      	(function_footer): ... this one.
      	(unlink_insn_chain): New functions.
      	(label_for_bb): Only call block_label and emit debug message.
      	(record_effective_endpoints): Actually unlink the headers and footers.
      	(fixup_reorder_cahin): Re-insert the unlinked sequences.
      	(cfg_layout_duplicate_bb): Use duplicate_insn_chain.
      	* cfglayout.h (struct reorder_block_def): New fields footer/header;
      	remove eff_head/eff_end.
      	* rtl.h (set_first_insn): Declare.
      	* emit-rtl.c (set_first_insn): New function.
      
      	* cfglayout.c (fixup_reorder_chain): Dump duplicated
      	(cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
      	cfg_layout_duplicate_bb): New global function.
      	(duplicate_insn_chain): New static function.
      	* cfglayout.h (cfg_layout_can_duplicate_bb_p, cfg_layout_rerirect_edge,
      	cfg_layout_duplicate_bb): Declare.
      	(struct reorder_block_def): Add "original" field.
      	* emit-rtl.c (emit_copy_of_insn_after): New function.
      	* rtl.h (emit_copy_of_insn_after): Declare.
      
      	* cfglayout.c (fixup_fallthru_exit_predecessor): Kill.
      	(fixup_reorder_chain): properly handle edges to exit block.
      
      Wed May  8 11:10:31 CEST 2002  Zdenek Dvorak  <rakdver@atrey.karlin.mff.cuni.cz>
      			       Jan Hubicka  <jh@suse.cz>
      
      	* basic-block.h (note_prediction_to_br_prob): declare.
      	* c-semantics.c: Inlucde predit.h
      	(expand_stmt): predict GOTO_STMT as not taken.
      	* cfgcleanup.c: (delete_unreachable_blocks): Make global.
      	(cleanup_cfg): Do not free tail_recursion_list.
      	* cfgrtl.c (can_delete_note_p): Delete NOTE_INSN_PREDICTION.
      	(flow_delete_block): Kill predictions past end of basic block.
      	* output.h (delete_unreachable_blocks): Declare.
      	* predict.c (predicted_by_p, process_note_predictions,
      	process_note_prediction, last_block_p): New function.
      	(estimate_probability): Bypass loop on PRED_CONTINUE;
      	do not handle noreturn heuristics; kill PRED_RETURN; add
      	PRED_EARLY_RETURN.
      	* predict.def (PRED_CONTINUE, PRED_EARLY_RETURN, PRED_GOTO,
      	PRED_CONST_RETURN, PRED_NEGATIVE_RETURN, PRED_NULL_RETURN): New.
      	* predict.h (IS_TAKEN): New constant.
      	* print-rtl.c (print_rtx): Pretty print NOTE_INSN_PREDICTION.
      	* rtl.c (NOTE_INSN_PREDICTION): New.
      	* rtl.h (NOTE_PREDICTION, NOTE_PREDICTION_ALG, NOTE_PREDICTION_FLAGS):
      	New macro.
      	(insn_note): add NOTE_INSN_PREDICTION.
      	* sibcall.c (optimize_sibling_and_tail_recursive_call): Do not build
      	CFG; free tail_recursion_label_list.
      	* stmt.c: Include predict.h;
      	(return_prediction): New.
      	(expand_value_return): Use it.
      	* toplev.c: Lower NOTE_INSN_PREDICTION before sibcall.
      
      From-SVN: r53285
      Jan Hubicka committed
    • mips.md: Name the unspecs with define_constant. · 41f8d041
      	* config/mips/mips.md: Name the unspecs with define_constant.
      	(*HILO_delay): Rename to 'hilo_delay' (no star).
      	(reload_indi): Replace gen_rtx_UNSPEC with gen_hilo_delay.
      	(reload_outdi, reload_outsi): Likewise.
      
      From-SVN: r53284
      Richard Sandiford committed
    • Daily bump. · 744015dc
      From-SVN: r53283
      GCC Administrator committed
    • * gjavah.c (throwable_p): Use xstrdup, not strdup. · 5643bb97
      From-SVN: r53279
      Tom Tromey committed
    • configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set… · 6706f116
      configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
      
      * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
      script entry, and set LD to it when configuring multilibs.
      * configure: Rebuilt.
      
      From-SVN: r53278
      Alexandre Oliva committed
    • * toplev.c: Fix formatting. · 9cabb1d8
      From-SVN: r53276
      Kazu Hirata committed
    • re PR java/1200 (gcjh -jni doesn't respect class hierarchy) · 6b9b5de2
      	Fix for PR java/1200:
      	* gjavah.c (throwable_p): New function.
      	(decode_signature_piece): Use it.  A `WeakReference' isn't the
      	same as a `jweak'.
      	Include hashtab.h.
      	(gcjh_streq): New function.
      
      From-SVN: r53275
      Tom Tromey committed
    • Add forgotten changelog entry. · db84f1bd
      From-SVN: r53273
      David S. Miller committed
  2. 07 May, 2002 18 commits
  3. 06 May, 2002 7 commits
    • * doc/rtl.texi (Flags): Update to reflect current usage. · 4afe3952
      From-SVN: r53242
      Janis Johnson committed
    • re PR rtl-optimization/3995 (i386 optimisation: joining tests) · 1f77b5da
      	PR opt/3995
      	* fold-const.c (sign_bit_p): New function.
      	(fold) [EQ_EXPR]: Use this to convert (A & C) == 0 into A >= 0 and
              (A & C) != 0 into A < 0, when constant C is the sign bit of A's type.
      	Reapply fold when converting (A & C) == C into (A & C) != 0.
      	(fold_binary_op_with_conditional_arg): Fix typo in comment.
      
      testsuite/
      	* gcc.c-torture/execute/20020506-1.c: New test case.
      
      From-SVN: r53241
      Roger Sayle committed
    • c-common.c (warn_multichar): New. · a5a49440
      	* c-common.c (warn_multichar): New.
      	(c_common_init): Set CPP's warn_multichar.
      	* c-common.h (warn_multichar): New.
      	* c-decl.c (warn_multichar): Remove.
      	* c-lex.c (lex_charconst): Update.
      	* c-tree.h (warn_multichar): Remove.
      	* cppexp.c (eval_token): Sign-extend charconst value.
      	* cppinit.c (cpp_create_reader): Set warn_multichar.
      	* cpplex.c (cpp_interpret_charconst): Don't sign-extend
      	each character.  Update prototype.  Sign-extend the result.
      	* cpplib.h: Fix conditions.
      	(struct cpp_options): Add new warning flag.
      	(cpp_interpret_charconst): Update prototype.
      cp:
      	* Make-lang.in (decl2.o): Update.
      	* cp-tree.h (warn_multichar): Remove.
      	* decl2.c: Include c-common.h.
      	(warn_multichar): Remove.
      doc:
      	* cpp.texi: Update documentation.
      testsuite:
      	* gcc.dg/cpp/charconst-3.c: Correct tests accordingly.
      
      From-SVN: r53240
      Neil Booth committed
    • Added Tim Josling to MAINTAINERS file. · d7ee9f9f
      Added Tim Josling to MAINTAINERS file. Fixed various treelang copyrights. Fix
      broken treelang build resulting from changes to c-common.c.
      
      From-SVN: r53239
      Tim Josling committed
    • sparc.md (shift insns): Do not mask off second operand... · 8d8563ae
      2002-05-06  David S. Miller  <davem@redhat.com>
      
      	* config/sparc/sparc.md (shift insns): Do not mask off
      	second operand, 'I' constraint and SHIFT_COUNT_TRUNCATED
      	take care of it.
      
      From-SVN: r53238
      David S. Miller committed
    • ltmain.sh: Detect and handle object name conflicts while piecewise linking a static library. · 97320a3f
      	* ltmain.sh: Detect and handle object name conflicts
      	while piecewise linking a static library.
      
      From-SVN: r53237
      Loren J. Rittle committed
    • Test all the facets for the temporary "C" locale switch issue. · b5623829
      2002-05-06  Paolo Carlini  <pcarlini@unitus.it>
      
      	Test all the facets for the temporary "C" locale switch issue.
      	* testsuite/22_locale/codecvt_members_char_char.cc: Add test03.
      	* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
      	* testsuite/22_locale/collate_members_char.cc: Add test04.
      	* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
      	* testsuite/22_locale/ctype_members_char.cc: Add test05.
      	* testsuite/22_locale/ctype_members_wchar_t.cc: Add test04.
      	* testsuite/22_locale/messages_members_char.cc: Add test03.
      	* testsuite/22_locale/money_get_members_char.cc: Add test08.
      	* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
      	* testsuite/22_locale/money_put_members_char.cc: Add test07.
      	* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
      	* testsuite/22_locale/moneypunct_members_char.cc: Add test03.
      	* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
      	* testsuite/22_locale/num_get_members_char.cc: Add test06.
      	* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
      	* testsuite/22_locale/numpunct_members_char.cc: Add test03.
      	* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
      	* testsuite/22_locale/time_get_members_char.cc: Add test08.
      	* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
      	* testsuite/22_locale/time_put_members_char.cc: Add test04.
      	* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
      
      	* testsuite/22_locale/num_put_members_char.cc (test04): Add comment.
      	* testsuite/22_locale/num_put_members_wchar_t.cc (test04): Likewise.
      
      From-SVN: r53236
      Paolo Carlini committed