diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-08-29 19:03:31 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-08-29 19:03:31 +0000 |
commit | b7b8bcd23a2ed4c571242d5e06fa975857948e11 (patch) | |
tree | 99bba146483ca359f5f8c34914144ca70c2b4ae4 /gcc/protoize.c | |
parent | f84300c4269026fbbdda49b114bfa311e5d71001 (diff) | |
download | gcc-b7b8bcd23a2ed4c571242d5e06fa975857948e11.zip gcc-b7b8bcd23a2ed4c571242d5e06fa975857948e11.tar.gz gcc-b7b8bcd23a2ed4c571242d5e06fa975857948e11.tar.bz2 |
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
Diffstat (limited to 'gcc/protoize.c')
0 files changed, 0 insertions, 0 deletions