]> gcc.gnu.org Git - gcc.git/commit
cp-tree.h (TYPE_NEEDS_CONSTRUCTING): Remove #if 0'd definition.
authorMark Mitchell <mark@codesourcery.com>
Sun, 29 Aug 1999 19:03:31 +0000 (19:03 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 29 Aug 1999 19:03:31 +0000 (19:03 +0000)
commitb7b8bcd23a2ed4c571242d5e06fa975857948e11
tree99bba146483ca359f5f8c34914144ca70c2b4ae4
parentf84300c4269026fbbdda49b114bfa311e5d71001
cp-tree.h (TYPE_NEEDS_CONSTRUCTING): Remove #if 0'd definition.

* cp-tree.h (TYPE_NEEDS_CONSTRUCTING): Remove #if 0'd definition.
(maybe_inject_for_scope_var): Declare it.
(initialize_local_var): Likewise.
* decl.c (maybe_inject_for_scope_var): Make it global.
(initialize_local_var): Likewise.  Move cleanup handling here,
from cp_finish_decl.
(make_rtl_for_nonlocal_decl): Use
push_obstacks_nochange/pop_obstacks, rather than
end_temporary_allocation/resume_temporary_allocation.
(cp_finish_decl): Try to complete the type of a variable when it
is declared.  Move cleanup-handling to initialize_local_var.
(expand_static_init): Use tree-building code, rather than
RTL-building code.
* decl2.c (get_temp_name): Assert non-initializedness of
temporaries.
* init.c (create_temporary_var): Move RTL-assigning code to ...
(get_temp_regvar): Here.
* pt.c (tsbust_expr): Fix indentation.  Call cp_finish_decl here.
* semantics.c (expand_stmt): Don't call cp_finish_decl here.  Just
call initialize_local_var to generate initialization code.

From-SVN: r28973
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/init.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.pt/crash52.C [new file with mode: 0644]
This page took 0.057203 seconds and 5 git commands to generate.