summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 04f54b8a460..6f58a69ce1c 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4194,6 +4194,9 @@ init_function_start (subr, filename, line)
/* Within function body, compute a type's size as soon it is laid out. */
immediate_size_expand++;
+ /* We haven't made any trampolines for this function yet. */
+ trampoline_list = 0;
+
init_pending_stack_adjust ();
inhibit_defer_pop = 0;
@@ -4524,8 +4527,6 @@ expand_function_end (filename, line)
/* Put those insns at entry to the containing function (this one). */
emit_insns_before (seq, tail_recursion_reentry);
}
- /* Clear the trampoline_list for the next function. */
- trampoline_list = 0;
#if 0 /* I think unused parms are legitimate enough. */
/* Warn about unused parms. */