diff options
author | Jason Merrill <jason@casey.cygnus.com> | 2000-04-07 17:44:14 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2000-04-07 13:44:14 -0400 |
commit | 1c81f9fe755db4b65598f350b5e252ced06c194e (patch) | |
tree | 219c29bb4a89f8b0322d6dae7797c37cf5b07c9a | |
parent | e8ff28b4bdff53996c6179f027240f054ef74e12 (diff) | |
download | gcc-1c81f9fe755db4b65598f350b5e252ced06c194e.zip gcc-1c81f9fe755db4b65598f350b5e252ced06c194e.tar.gz gcc-1c81f9fe755db4b65598f350b5e252ced06c194e.tar.bz2 |
* calls.c (expand_call): emit_queue if we're trying a sibcall.
From-SVN: r33006
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/calls.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e00700b..f6f8722 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2000-04-07 Jason Merrill <jason@casey.cygnus.com> + + * calls.c (expand_call): emit_queue if we're trying a sibcall. + 2000-04-07 Jakub Jelinek <jakub@redhat.com> * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove. diff --git a/gcc/calls.c b/gcc/calls.c index eb3d794..90afe1e 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -2264,6 +2264,10 @@ expand_call (exp, target, ignore) || ! FUNCTION_OK_FOR_SIBCALL (fndecl)) continue; + /* Emit any queued insns now; otherwise they would end up in + only one of the alternates. */ + emit_queue (); + /* We know at this point that there are not currently any pending cleanups. If, however, in the process of evaluating the arguments we were to create some, we'll need to be |