diff options
author | Richard Henderson <rth@redhat.com> | 2003-08-29 15:44:05 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2003-08-29 15:44:05 -0700 |
commit | d560a41c5c43524d82795ac4421eab2df6764e30 (patch) | |
tree | b8bd1c0f20314f33063c82cf2cf403d0630408e5 /gcc/c-semantics.c | |
parent | 3a70d621853e616201bac254b8e3900b63b6fcf4 (diff) | |
download | gcc-d560a41c5c43524d82795ac4421eab2df6764e30.zip gcc-d560a41c5c43524d82795ac4421eab2df6764e30.tar.gz gcc-d560a41c5c43524d82795ac4421eab2df6764e30.tar.bz2 |
function.h (struct function): Add rtl_inline_init, saved_for_inline.
* function.h (struct function): Add rtl_inline_init, saved_for_inline.
* integrate.c (save_for_inline): Set saved_for_inline.
* c-semantics.c (genrtl_scope_stmt): Check it.
* toplev.c (wrapup_global_declarations): Check it.
(rest_of_handle_inlining): Set and check rtl_inline_init.
(rest_of_compilation): Remove out of date comment.
From-SVN: r70931
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r-- | gcc/c-semantics.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c index cbffbe0..4163d44 100644 --- a/gcc/c-semantics.c +++ b/gcc/c-semantics.c @@ -645,6 +645,7 @@ genrtl_scope_stmt (tree t) if (TREE_CODE (fn) == FUNCTION_DECL && DECL_CONTEXT (fn) == current_function_decl && DECL_SAVED_INSNS (fn) + && DECL_SAVED_INSNS (fn)->saved_for_inline && !TREE_ASM_WRITTEN (fn) && TREE_ADDRESSABLE (fn)) { |