optimize.c (inline_data): Remove fns_top.
authorMark Mitchell <mark@codesourcery.com>
Sun, 5 Dec 1999 01:00:28 +0000 (01:00 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 5 Dec 1999 01:00:28 +0000 (01:00 +0000)
commit390f4e9a7d6b5a759428fc4cbe89d2add0547faa
tree9dcf3ffcd939e2d7d41d2a953ca75d1aae0dcb14
parent5a586e5083a67ae56ee5e2f5fc251dfabd1f31c1
optimize.c (inline_data): Remove fns_top.

* 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.

From-SVN: r30781
gcc/cp/ChangeLog
gcc/cp/optimize.c