aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 7473ead..09978fc 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1658,8 +1658,8 @@ wrapup_global_declarations (tree *vec, int len)
if (TREE_CODE (decl) == FUNCTION_DECL
&& DECL_INITIAL (decl) != 0
- && DECL_SAVED_INSNS (decl) != 0
- && DECL_SAVED_INSNS (decl)->saved_for_inline
+ && DECL_STRUCT_FUNCTION (decl) != 0
+ && DECL_STRUCT_FUNCTION (decl)->saved_for_inline
&& (flag_keep_inline_functions
|| (TREE_PUBLIC (decl) && !DECL_COMDAT (decl))
|| TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (decl))))
@@ -2677,7 +2677,8 @@ rest_of_handle_inlining (tree decl)
if (open_dump_file (DFI_rtl, decl))
{
- if (DECL_SAVED_INSNS (decl) && DECL_SAVED_INSNS (decl)->saved_for_inline)
+ if (DECL_STRUCT_FUNCTION (decl)
+ && DECL_STRUCT_FUNCTION (decl)->saved_for_inline)
fprintf (rtl_dump_file, ";; (integrable)\n\n");
close_dump_file (DFI_rtl, print_rtl, insns);
}
@@ -2747,7 +2748,7 @@ rest_of_handle_inlining (tree decl)
timevar_push (TV_INTEGRATION);
save_for_inline (decl);
timevar_pop (TV_INTEGRATION);
- DECL_SAVED_INSNS (decl)->inlinable = inlinable;
+ DECL_STRUCT_FUNCTION (decl)->inlinable = inlinable;
return true;
}
@@ -3678,7 +3679,7 @@ rest_of_compilation (tree decl)
if (! DECL_DEFER_OUTPUT (decl))
{
free_after_compilation (cfun);
- DECL_SAVED_INSNS (decl) = 0;
+ DECL_STRUCT_FUNCTION (decl) = 0;
}
cfun = 0;