1. 08 Jul, 2002 6 commits
  2. 07 Jul, 2002 6 commits
    • c-common.c (c_common_post_options): Update prototype; don't init backends if preprocessing only. · 5351f1ca
      	* c-common.c (c_common_post_options): Update prototype;
      	don't init backends if preprocessing only.
      	* langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
      	* langhooks.h (struct lang_hooks): Update post_options to
      	return a boolean.
      	* toplev.c (parse_options_and_default_flags, do_compile,
      	lang_independent_init): Update prototypes.  Allow the
      	front end to specify that there is no need to initialize
      	the back end.
      	(general_init): Move call to hex_init here...
      	(toplev_main): ...from here.  Pass flag for back end init
      	suppression.
      java:
      	* lang.c (java_post_options): Update prototype.
      
      From-SVN: r55306
      Neil Booth committed
    • sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''. · c8cc4417
      	* sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
      	(PREDICATE_CODES): Add entries for equality_comparison_operator,
      	greater_comparison_operator and less_comparison_operator.
      	* sh.c (print_operand): Add '\'' code.  Make 'o' handle
      	more operators.
      	(equality_comparison_operator): New function.
      	(greater_comparison_operator, less_comparison_operator): Likewise.
      	* sh.md (beq_media_i): Disable generator function generation.
      	Use match_operator to handle a whole class of comparisons.  Add
      	modifier in output template to provide branch prediction.  Add type.
      	(bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
      	(bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
      	(blt_media_i, bleu_media_i, bltu_media_i): Likewise.
      	(bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
      
      From-SVN: r55305
      J"orn Rennecke committed
    • error.c (dump_function_name): Use DECL_TEMPLATE_RESULT for constructor and destructor tests when... · 78abea27
      
      	* error.c (dump_function_name): Use DECL_TEMPLATE_RESULT for
      	constructor and destructor tests when passed a TEMPLATE_DECL.
      
      	* g++.dg/template/qualttp21.C: New test case.
      
      From-SVN: r55304
      Roger Sayle committed
    • Emit MMIX function prologue and epilogue as rtl. · 957ec0f9
      	* config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
      	not unprototyped get_hard_reg_initial_val.
      	("call_value", "nonlocal_goto_receiver"): Ditto.
      	("return"): Make define_expand.  Move real insn to...
      	("*expanded_return"): New pattern.
      	("prologue", "epilogue"): New define_expands.
      	* config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
      	(struct machine_function): New member in_prologue.
      	(FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
      	(FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
      	(MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
      	(MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
      	(REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
      	(LOCAL_REGNO): Define.  Adjust comment.
      	* config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
      	Consider regs_ever_live[MMIX_rJ_REGNUM], not just
      	leaf_function_p.
      	(MMIX_OUTPUT_REGNO): Don't translate registers while outputting
      	the prologue.
      	(mmix_target_asm_function_prologue): Make static.  Just mark that
      	the prologue is being emitted.  Move guts to...
      	(mmix_expand_prologue): New function.  Adjust for emitting
      	prologue as rtl.  For sizes, use HOST_WIDE_INT only.
      	(mmix_target_asm_function_epilogue): Make static.  Simply emit a
      	\n.  Move guts to...
      	(mmix_expand_epilogue): New function.  Adjust for emitting
      	epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
      	(mmix_target_asm_function_end_prologue): Mark that the prologue
      	has ended.
      	(TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
      	(mmix_conditional_register_usage): Improve comments.
      	(mmix_local_regno): New function.
      	(mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
      	* config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
      	(mmix_expand_prologue, mmix_expand_epilogue): Ditto.
      	(mmix_get_hard_reg_initial_val): Ditto.
      
      From-SVN: r55302
      Hans-Peter Nilsson committed
    • re PR libstdc++/7186 (DR179 for std::deque::iterator and const_iterator) · 276e31ec
      2002-07-07  Paolo Carlini  <pcarlini@unitus.it>
      
      	PR libstdc++/7186
      	* include/bits/stl_deque.h (_Deque_iterator::operator-):
      	Make non-member, as already happens for the comparison
      	operators in accord with DR179 (Ready).
      	* testsuite/23_containers/deque_operators.cc: Add test02.
      
      From-SVN: r55301
      Paolo Carlini committed
    • Daily bump. · 12f2f485
      From-SVN: r55300
      GCC Administrator committed
  3. 06 Jul, 2002 9 commits
  4. 05 Jul, 2002 14 commits
  5. 04 Jul, 2002 5 commits
    • * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. · a0af94a7
      From-SVN: r55250
      Steve Ellcey committed
    • configure.in: Correct typos... · da77408f
      * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
      gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
      to gcc_cv_as_gstabs_flag.
      * configure: Rebuilt.
      
      From-SVN: r55249
      Daniel Jacobowitz committed
    • * ggc.h (ggc_add_root): Document as obsolete. · ec52b446
      From-SVN: r55247
      Geoffrey Keating committed
    • std_streambuf.h (basic_streambuf::_M_buf): Change to size_t, from int_type. · 49433044
      
      2002-07-04  Benjamin Kosnik  <bkoz@redhat.com>
                  Jack Reeves  <jackw_reeves@hotmail.com>
      
      	* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
      	size_t, from int_type.
       	(basic_streambuf::_M_buf_size_opt): Same.
       	(basic_streambuf::_S_pback_sizex): Same.
      	* include/bits/streambuf.tcc: Same.
      	* include/std/std_streambuf.h (basic_streambuf::snextc): Use
      	eq_int_type.
      	(basic_streambuf::uflow): Same.
      	* include/bits/sstream.tcc (basic_stringbuf::overflow): Use
      	to_char_type.
      	* include/bits/basic_ios.tcc (basic_ios::init): Use _CharT().
      	* include/bits/streambuf.tcc (basic_streambuf::xsgetn): Use
      	eq_int_type.
      	(basic_streambuf::xsputn): Same.
      	(__copy_streambufs): Same.
      
      Co-Authored-By: Jack Reeves <jackw_reeves@hotmail.com>
      
      From-SVN: r55242
      Benjamin Kosnik committed
    • std_memory.h: Fix formatting. · 5acf59f8
      
      2002-07-03  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/std/std_memory.h: Fix formatting.
      	* testsuite/20_util/auto_ptr_neg.cc: New.
      	* testsuite/20_util/auto_ptr.cc: Tweaks.
      	* testsuite/23_containers/map_operators.cc (test01): Split into..
      	* testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
      	* testsuite/23_containers/set_operators.cc: Move to...
      	* testsuite/23_containers/set_operators_neg.cc: ...here.
      	* testsuite/README: Add some more naming rules.
      
      From-SVN: r55241
      Benjamin Kosnik committed