OSDN Git Service

* optimize.c (inline_data): Remove fns_top. Add scope_stmt. Add
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Dec 1999 01:00:28 +0000 (01:00 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 5 Dec 1999 01:00:28 +0000 (01:00 +0000)
commitc51a63ed99e5de1316c9cbf5b1d25cc71cbb8bce
tree9dcf3ffcd939e2d7d41d2a953ca75d1aae0dcb14
parent8ea5332319d451003ca1c82b6dadfa28c9881ec9
* optimize.c (inline_data): Remove fns_top.  Add scope_stmt.  Add
in_target_cleanup_p.
(remap_decl): New function.
(remap_block): Likewise.
(copy_scope_stmt): Likewise.
(copy_body_r): Use remap_decl and copy_scope_stmt.
(copy_body): Use VARRAY_TOP_TREE.
(initialize_inlined_parameters): Likewise.
(declare_return_variable): Likewise.
(inlinable_function_p): Check flag_inline_trees.
(expand_call_inline): Handle SCOPE_STMTs and TARGET_EXPRs
specially.  Use VARRAY_PUSH_TREE.  Create a BLOCK for the
parameters of the inlined function.
(optimize_function): Prevent recursion into partially complete
functions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30781 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/optimize.c