1. 04 Apr, 2002 9 commits
    • gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new one-character spec for this,… · 4d8611d9
      gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new one-character spec for this, just use %(link_gcc_c_sequence).
      
      2002-04-03  David S. Miller  <davem@redhat.com>
      
      	* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
      	one-character spec for this, just use %(link_gcc_c_sequence).
      
      From-SVN: r51842
      David S. Miller committed
    • crtfastmath.c (FPRS_NS): Delete bogus little-endian handling. · b03ad99d
      2002-04-03  David S. Miller  <davem@redhat.com>
      
      	* config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
      	handling.
      
      From-SVN: r51840
      David S. Miller committed
    • As per DR 184, libstdc++/3139 · a9bb75a7
      
      2002-04-03  Benjamin Kosnik  <bkoz@redhat.com>
      
              As per DR 184, libstdc++/3139
              * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
              (numeric_limits<bool>::is_iec559): False.
              (numeric_limits<bool>::is_modulo): False.
      
      	* testsuite/27_io/ios_init.cc: Add instantiations.
      
      From-SVN: r51838
      Benjamin Kosnik committed
    • pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move. · 823fbbce
      	* pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
      	(DWARF_FRAME_RETURN_COLUMN): Move.
      	(ASM_PREFERRED_EH_DATA_FORMAT): Define.
      	(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
      	* pa.c (except.h, predict.h): Include.
      	(FRP): Delete.
      	(store_reg_modify, set_reg_plus_d): Revise prototypes.
      	(output_ascii): Add cast.
      	(store_reg_modify): Revise to add frame notes.
      	(set_reg_plus_d): Likewise.
      	(compute_frame_size): Include space for eh data registers in frame if
      	the current function calls eh_return.
      	(hppa_expand_prologue):  Ensure register %r2 is saved if the current
      	function calls eh_return.  Save eh data registers if the current
      	function calls eh_return.  Fix code to add frame notes.  Emit
      	blockage to prevent insns with frame notes being scheduled in the
      	delay slot of calls.
      	(hppa_expand_epilogue): Restore eh data registers and do final stack
      	adjustment if the current function calls eh_return.  Don't add frame
      	notes.
      	(output_call): Revise for change in length of call insn.  Don't do
      	return pointer adjustment for an unconditional jump in the delay slot
      	of a call when using frame notes.
      	* pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
      	(EH_RETURN_HANDLER_RTX): Use saved value on stack.
      	(ARG_POINTER_CFA_OFFSET): Define.
      	* pa.md (return_external_pic): New pattern.
      	(prologue): Correct formatting.  Use return_external_pic if current
      	function calls eh_return.
      	(call_internal_symref, call_value_internal_symref,
      	sibcall_internal_symref, sibcall_value_internal_symref): Change default
      	lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
      	respectively.
      	(exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
      
      	* configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
      	list of targets to check using "nop" insn.
      	* configure: Rebuilt.
      
      From-SVN: r51836
      John David Anglin committed
    • * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define. · 4078e224
      From-SVN: r51835
      Alan Modra committed
    • gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library… · bbd7687d
      gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c library sequence passed to the linker.
      
      2002-04-03  David S. Miller  <davem@redhat.com>
      
      	* gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
      	library sequence passed to the linker.
      	(LINK_COMMAND_SPEC): Use it.
      	* doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
      	a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
      	* config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
      
      From-SVN: r51834
      David S. Miller committed
    • re PR c++/5118 (c4x-g++ Fails on Templates) · eb81f6ff
              PR c++/5118
              * class.c (get_vfield_name): Use the constructor_name.
      
      From-SVN: r51830
      Jason Merrill committed
    • linkage.exp: Update last change to handle sparc*-, not just sparc-. · 71fad614
      	* gcc.misc-tests/linkage.exp: Update last change to handle
      	sparc*-, not just sparc-.
      
      From-SVN: r51828
      Kaveh R. Ghazi committed
    • re PR c++/5636 (gcc-3.0.3, memory leakage: function that take a string as… · 659e5a7a
      re PR c++/5636 (gcc-3.0.3, memory leakage: function that take a string as parameter will not call local variable destructors if exception is thrown.)
      
              PR c++/5636
              * tree.h (CLEANUP_EH_ONLY): New macro.
              * stmt.c (expand_decl_cleanup_eh): New fn.
              (expand_cleanups): Check CLEANUP_EH_ONLY.
              * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
              Use expand_decl_cleanup_eh.
              (expand_stmt): Adjust.
              * c-common.h: Adjust prototype.
              * cp/semantics.c (nullify_returns_r): Just set CLEANUP_EH_ONLY on
              cleanup for nrv.
      
              * except.c (struct eh_status): Remove protect_list.
              (begin_protect_partials, end_protect_partials): Remove.
              (add_partial_entry): Remove.
              * except.h: Remove prototypes.
      
              * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
              expand_decl_cleanup_eh.
      
      cp/:
              * semantics.c (finish_eh_cleanup): New fn.
              * cp-tree.h: Add prototype.
              * init.c (perform_member_init, expand_cleanup_for_base): Use
              finish_eh_cleanup.
              * cp-tree.def (SUBOBJECT, CTOR_STMT): Remove.
              * cp-tree.h: Remove references.
              * decl.c (begin_constructor_body, end_constructor_body): Likewise.
              * dump.c (cp_dump_tree): Likewise.
              * pt.c (tsubst_expr): Likewise.
              * semantics.c (genrtl_ctor_stmt, genrtl_subobject): Remove.
              (cp_expand_stmt): Remove handling of CTOR_STMT and SUBOBJECT.
              * tree.c (cp_statement_code_p): Likewise.
      
              * init.c (build_new_1): Set CLEANUP_EH_ONLY on deleting cleanup.
      
      From-SVN: r51827
      Jason Merrill committed
  2. 03 Apr, 2002 31 commits