1. 02 Jul, 2003 10 commits
    • re PR c++/6949 (ICE in tsubst_decl, at cp/pt.c:5733) · ddb45080
      	PR c++/6949
      	* decl2.c (grokfield): Create TEMPLATE_DECLs for methods in local
      	classes.
      
      	PR c++/6949
      	* g++.dg/template/local3.C: New test.
      
      From-SVN: r68818
      Mark Mitchell committed
    • Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects check* targets, but not libs/programs). · f9f4d1e1
      2003-07-01  Phil Edwards  <pme@gcc.gnu.org>
      
      	* testsuite/Makefile.am (AM_MAKEFLAGS):  Set to -j1 (affects
      	check* targets, but not libs/programs).
      	* testsuite/Makefile.in:  Regenerate.
      
      From-SVN: r68813
      Phil Edwards committed
    • inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> too. · 1a78e5a7
      	* fixinc/inclhack.def (irix_stdio_va_list): Apply to IRIX 6.5
      	<internal/stdio_core.h> too.
      	(stdio_va_list): Apply to IRIX 6.5 <internal/stdio_core.h> and
      	<internal/wchar_core.h> too.
      	Substitute va_list uses in inline definition.
      	* fixinc/fixincl.x: Regenerate.
      
      From-SVN: r68811
      Rainer Orth committed
    • iris5.h (SET_FILE_NUMBER): Moved here from iris3.h. · 4c82f12b
      	* config/mips/iris5.h (SET_FILE_NUMBER): Moved here from iris3.h.
      	Undef before redefinition.
      	(LABEL_AFTER_LOC): Likewise.
      	(DEFAULT_SIGNED_CHAR): Likewise.
      	(ASM_OUTPUT_ASCII): Moved here from iris4.h.
      	Fix IRIX spelling.
      
      	* config/mips/iris3.h: Remove, unused.
      	* config/mips/iris4.h: Likewise.
      
      	* config/mips/mips.h (STACK_ARGS_ADJUST): Remove, unused.
      
      	* config/mips/iris5.h (TARGET_DEFAULT): Move ...
      	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here to
      	target_cpu_default.
      
      	* config/mips/iris5.h: Move explicit includes ...
      	* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): ... here.
      
      	* config/mips/iris6.h (MIPS_ISA_DEFAULT, MIPS_ABI_DEFAULT): Move ...
      	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
      	tm_defines.
      
      	* config/mips/iris6.h (TARGET_DEFAULT): Move ...
      	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here to
      	target_cpu_default.
      
      	* config/mips/iris6.h: Fix IRIX spelling.
      	(MULTILIB_DEFAULTS): Undef before redefinition.
      
      	* config/mips/iris6.h: Move explicit includes ...
      	* config.gcc (mips-sgi-irix6*, mips-sgi-irix5cross64): ... here.
      
      From-SVN: r68808
      Rainer Orth committed
    • cgraph.c (cgraph_mark_needed_node, [...]): Use next_needed field instead of aux… · 8bd87c4e
      cgraph.c (cgraph_mark_needed_node, [...]): Use next_needed field instead of aux to maintain the queue.
      
      	* cgraph.c (cgraph_mark_needed_node, cgraph_varpool_mark_needed_node,
      	cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
      	Use next_needed field instead of aux to maintain the queue.
      	* cgraph.h (cgraph_node): Add next_needed.
      	(cgraph_varpool_node): Add next_needed; remove aux.
      	* cgraphunit.c (cgraph_finalize_compilation_unit): Use next_needed.
      
      From-SVN: r68807
      Jan Hubicka committed
    • Daily bump. · d6435621
      From-SVN: r68805
      GCC Administrator committed
    • cgraphunit.c (cgraph_finalize_function): Set finalized. · f6981e16
      	* cgraphunit.c (cgraph_finalize_function): Set finalized.
      	(cgraph_finalize_function): Do not examine inlinablility.
      	(cgraph_finalize_compilation_unit): Do it here.
      	* cgraph.h (cgraph_local_info): Add finalized field.
      
      From-SVN: r68803
      Jan Hubicka committed
    • ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *. · d1c60855
      	* ggc-common.c (gt_pch_save): Cast MAP_FAILED to void *.
      	(gt_pch_restore): Likewise.
      
      From-SVN: r68802
      Rainer Orth committed
    • decl2.c (defer_fn): Set DECL_DEFER_OUTPUT. · 8cd2462c
      	* decl2.c (defer_fn): Set DECL_DEFER_OUTPUT.
      	(finish-file): Do not process function with DECL_DEFER_OUTPUT clear;
      	clear DECL_DEFER_OUTPUT once function is processed; avoid flags
      	massaging.
      
      	* cp-tree.h (DECL_NEEDED_P): Support unit-at-a-time
      	(expand_or_defer_fn): Declare.
      	(lower_function): Declare.
      	* decl.c (start_cleanup_fn): Use expand_or_defer_fn.
      	* decl2.c: Include cgraph.h and varpool.h
      	(maybe_emit_vtables):  Make explicit instantations as needed.
      	(mark_member_pointers, lower_function): New functions.
      	(finish_file): Do unit-at-a-time.
      	* method.c (synthesize_method): Use expand_or_defer_fn.
      	* optimize.c (maybe_clone_body): Use expand_or_defer_fn.
      	* parser.c (cp_parser_function_definition_after_decl): Use
      	expand_or_defer_fn.
      	* pt.c (instantiate_decl): Likewise.
      	* semantics.c: Include cgraph.h
      	(expand_or_defer_fn): Break out from ...
      	(expand_body): ... here; deal with unit-at-a-time.
      	* cp-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
      	LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION): Define.
      
      From-SVN: r68801
      Jan Hubicka committed
  2. 01 Jul, 2003 30 commits