1. 01 Mar, 2002 9 commits
    • cp-tree.h: Require __GNUC__ to be #defined. · fdc9bf29
      2002-03-01  Phil Edwards  <pme@gcc.gnu.org>
      
      	* cp-tree.h:  Require __GNUC__ to be #defined.
      	(build_init):  Add missing prototype.
      
      From-SVN: r50183
      Phil Edwards committed
    • tm.texi (ASM_WEAKEN_DECL): Document. · 79c4e63f
      	* doc/tm.texi (ASM_WEAKEN_DECL): Document.
      	(ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
      	(SUPPORTS_WEAK): Likewise.
      	* output.h (add_weak): Add tree param.
      	* varasm.c (add_weak): Likewise.  Save decl.
      	(struct weak_syms): Add decl field.
      	(mark_weak_decls): New function.
      	(init_varasm_once): ggc_add_root mark_weak_decls.
      	(assemble_start_function): Use ASM_WEAKEN_DECL.
      	(assemble_variable): Likewise.
      	(assemble_alias): Likewise.
      	(declare_weak): Pass decl to add_weak.
      	(weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
      	(remove_from_pending_weak_list): Declare and define for
      	ASM_WEAKEN_DECL.
      	* c-pragma.c (handle_pragma_weak): Adjust add_weak call.
      	* c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
      	* defaults.h (SUPPORTS_WEAK): Likewise.
      	* config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
      	.weak for code sym.  Do emit .size for descriptor sym.
      	(ASM_DECLARE_FUNCTION_SIZE): Define.
      	* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
      	(ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
      	.lglobl unless TARGET_XCOFF.  Formatting fixes.
      	* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
      	.weak for code sym.
      	(HANDLE_PRAGMA_WEAK): Remove.
      	(ASM_WEAKEN_LABEL): Remove.
      	* config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
      
      Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
      
      From-SVN: r50181
      Alan Modra committed
    • Add pointer support to the reflection code. · 562ff163
      From-SVN: r50180
      Anthony Green committed
    • * g++.dg/opt/vtgc1.C: Adjust patterns for ia64. · cc36a670
      From-SVN: r50179
      Richard Henderson committed
    • tree.h (TARGET_EXPR_SLOT, [...]): New macros. · 6f30f1f1
              * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
              (TARGET_EXPR_CLEANUP): New macro.
      cp/
              * except.c: Don't include decl.h or obstack.h.  Do include
              tree-inline.h.
              (build_throw): Destroy temporaries from the thrown
              expression before calling __cxa_throw.  Construct a thrown
              temporary directly into the exception object.
              (stabilize_throw_expr): New function.
              (wrap_cleanups_r): New function.
              * tree.c (stabilize_expr): New function.
              * init.c (build_init): New function.
              * Make-lang.in (cp/except.o): Adjust .h deps.
      
      From-SVN: r50177
      Jason Merrill committed
    • linker-map.gnu: Export operator new with unsigned long, and with std::nothrow_t. · e38ff265
              * config/linker-map.gnu: Export operator new with unsigned long,
              and with std::nothrow_t.  Likewise operator delete.
      
      From-SVN: r50176
      Richard Henderson committed
    • rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition to take ptr_extend into… · 7879b81e
      rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition to take ptr_extend into account as third type of extension.
      
              * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
              to take ptr_extend into account as third type of extension.
              (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
              fields used by SUBREG_PROMOTED_UNSIGNED_P.
              * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
              (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
              * calls.c (precompute_arguments): Use new macro.
              (expand_call): Ditto.
              * combine.c (nonzero_bits): Ditto.
              (record_promoted_value): Ditto.
              * expr.c (store_expr): Ditto.
              (expand_expr): Ditto.
              * function.c (assign_parms): Ditto.
      
      From-SVN: r50174
      Steve Ellcey committed
    • gcc.c (init_gcc_specs): Get -static and -static-libgcc to override -shared and -shared-libgcc. · 42d579d8
      * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
      override -shared and -shared-libgcc.
      
      From-SVN: r50171
      Alexandre Oliva committed
    • configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava. · 6bff33fb
      * configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
      libjava.
      (CXX_FOR_TARGET): Explain why -shared-libgcc here.
      
      From-SVN: r50169
      Alexandre Oliva committed
  2. 28 Feb, 2002 22 commits
  3. 27 Feb, 2002 9 commits
    • c-typeck.c (digest_init): Remove unused parameter; all callers changed. · 273cf2e4
      	* c-typeck.c (digest_init): Remove unused parameter; all
      	callers changed.
      
      From-SVN: r50118
      Zack Weinberg committed
    • * gcc.c-torture/execute/20020227-1.c: New test. · ffde6675
      From-SVN: r50117
      Hans-Peter Nilsson committed
    • * gcc.c-torture/execute/20020227-1.c: New test. · f086058e
      From-SVN: r50116
      Hans-Peter Nilsson committed
    • visibility13.C: Remove "instantiated from here" ERROR lines. · 16d3e075
      	* g++.old-deja/g++.law/visibility13.C: Remove "instantiated from
      	here" ERROR lines.
      	* g++.old-deja/g++.oliva/partord1.C: Likewise.
      	* g++.old-deja.g++.other/defarg1.C: Likewise.
      	* g++.old-deja/g++.pt/calls2.C: Likewise.
      	* g++.old-deja/g++.pt/crash20.C: Likewise.
      	* g++.old-deja/g++.pt/crash30.C: Likewise.
      	* g++.old-deja/g++.pt/crash36.C: Likewise.
      	* g++.old-deja/g++.pt/crash6.C: Likewise.
      	* g++.old-deja/g++.pt/defarg13.C: Likewise.
      	* g++.old-deja/g++.pt/derived3.C: Likewise.
      	* g++.old-deja/g++.pt/error1.C: Likewise.
      	* g++.old-deja/g++.pt/friend21.C: Likewise.
      	* g++.old-deja/g++.pt/friend23.C: Likewise.
      	* g++.old-deja/g++.pt/infinite1.C: Likewise.
      	* g++.old-deja/g++.robertl/eb128.C: Likewise.
      
      From-SVN: r50115
      Mark Mitchell committed
    • Index: ChangeLog · 4e07d762
      	* expmed.c (expand_shift): Correctly test for low part of a
      	subreg.
      
      Index: testsuite/ChangeLog
      
      	* gcc.c-torture/execute/20020225-2.c: New test.
      
      From-SVN: r50114
      Geoffrey Keating committed
    • s390.c (s390_chunkify_pool): Do not confuse insn UIDs with insn addresses. · 6bc627b3
      	* config/s390/s390.c (s390_chunkify_pool): Do not confuse
      	insn UIDs with insn addresses.
      
      From-SVN: r50112
      Ulrich Weigand committed
    • ios_manip_basefield.cc (test01): Fix for 64 bit machines. · bded68b1
      2002-02-27  Paolo Carlini  <pcarlini@unitus.it>
      
      	* testsuite/27_io/ios_manip_basefield.cc (test01):
      	Fix for 64 bit machines.
      
      From-SVN: r50111
      Paolo Carlini committed
    • c-common.c, [...]: Delete code implementing -traditional mode. · f458d1d5
      	* c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
      	c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
      	cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
      	builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
      	gcc.c, toplev.c: Delete code implementing -traditional mode.
      
      	* ada/misc.c, ch/ch-tree.h, ch/decl.c, cp/decl2.c, f/com.c,
      	f/lex.c, f/top.c, java/builtins.c, java/decl.c: Delete
      	traditional-mode-related code copied from the C front end
      	but not used, or used only to permit the compiler to link.
      
      	* doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
      	doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
      	Document removal of -traditional mode for compilation, and
      	remove documentation only relevant to that mode.
      
      	* config/nextstep.h, config/ptx4.h, config/svr4.h,
      	config/convex/convex.h, config/d30v/d30v.h,
      	config/i386/dgux.h, config/i386/osf1elf.h,
      	config/i386/osfelf.h, config/i386/osfrose.h,
      	config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
      	config/m68k/hp310.h, config/m88k/dgux.h,
      	config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
      	config/m88k/m88k.h, config/m88k/openbsd.h,
      	config/mips/abi64.h, config/mips/osfrose.h,
      	config/mips/svr4-5.h, config/mips/svr4-t.h,
      	config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
      	config/stormy16/stormy16.h: Remove all references to
      	-traditional from target specs.  Delete all mention of the
      	no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
      	delete a couple of commented-out definitions of
      	DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
      	to -traditional.
      
      	* system.h: Poison TRADITIONAL_RETURN_FLOAT.
      	* doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
      
      	* testsuite/gcc.c-torture/execute/920730-1t.c,
      	testsuite/gcc.c-torture/execute/920730-1t.x,
      	testsuite/gcc.dg/ext-glob.c: Delete test cases, only relevant
      	to -traditional.
      
      From-SVN: r50110
      Zack Weinberg committed
    • mklibgcc.in: Don't use \n in a line subject to interpretation by echo. · e0b3a8ff
      	* mklibgcc.in: Don't use \n in a line subject to
      	interpretation by echo.
      
      From-SVN: r50109
      Zack Weinberg committed