From d9a98e1a531fedff9d5e1e63b2d1e4d3ebdff527 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 18 Jul 1993 14:21:41 -0400 Subject: [PATCH] (init_function_start): Initialize trampoline_list here. (expand_function_end): Not here. From-SVN: r4936 --- gcc/function.c | 5 +++-- 1 file 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. */ -- 2.30.2