diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-07-18 18:21:41 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-07-18 18:21:41 +0000 |
commit | 8f40d8ff6f06c22660c19c92651eed6c1983611a (patch) | |
tree | dea6e987dfaf23fa1174f03ec9cffa069102e9c8 /gcc | |
parent | a8ed30ba4a3a019d7dd81a50c065ee9505896a3e (diff) | |
download | gcc-8f40d8ff6f06c22660c19c92651eed6c1983611a.tar.gz |
(init_function_start): Initialize trampoline_list here.
(expand_function_end): Not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4936 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/function.c | 5 |
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. */ |