summaryrefslogtreecommitdiff
path: root/gcc/c-semantics.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-semantics.c')
-rw-r--r--gcc/c-semantics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-semantics.c b/gcc/c-semantics.c
index 38c4021d6cf..17a301cffff 100644
--- a/gcc/c-semantics.c
+++ b/gcc/c-semantics.c
@@ -640,8 +640,8 @@ 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
+ && DECL_STRUCT_FUNCTION (fn)
+ && DECL_STRUCT_FUNCTION (fn)->saved_for_inline
&& !TREE_ASM_WRITTEN (fn)
&& TREE_ADDRESSABLE (fn))
{