summaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-07-18 14:21:41 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-07-18 14:21:41 -0400
commitd9a98e1a531fedff9d5e1e63b2d1e4d3ebdff527 (patch)
treedea6e987dfaf23fa1174f03ec9cffa069102e9c8 /gcc/function.c
parent366185286aab4ceeb94d98eb54fd9c59708f152a (diff)
downloadgcc-d9a98e1a531fedff9d5e1e63b2d1e4d3ebdff527.tar.gz
(init_function_start): Initialize trampoline_list here.
(expand_function_end): Not here. From-SVN: r4936
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. */