aboutsummaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorJason Merrill <jason@casey.cygnus.com>2000-04-07 17:44:14 +0000
committerJason Merrill <jason@gcc.gnu.org>2000-04-07 13:44:14 -0400
commit1c81f9fe755db4b65598f350b5e252ced06c194e (patch)
tree219c29bb4a89f8b0322d6dae7797c37cf5b07c9a /gcc/calls.c
parente8ff28b4bdff53996c6179f027240f054ef74e12 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c4
1 files changed, 4 insertions, 0 deletions
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