diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-29 22:44:05 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-29 22:44:05 +0000 |
commit | 9197503feb1ae04f7e5b952003aa94aeb0390419 (patch) | |
tree | b8bd1c0f20314f33063c82cf2cf403d0630408e5 /gcc/c-semantics.c | |
parent | ecc82929a44b5a046c89ba1361c354f1466b85e4 (diff) | |
download | gcc-9197503feb1ae04f7e5b952003aa94aeb0390419.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70931 138bc75d-0d04-0410-961f-82ee72b054a4
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 cbffbe09411..4163d449199 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)) { |