aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>2000-01-01 12:12:10 +0000
committerBernd Schmidt <crux@gcc.gnu.org>2000-01-01 12:12:10 +0000
commit3bdf58486dbd0f79546c871c118d6f218516db71 (patch)
treebd020ea786be6243be2545404e106f007c1afa89 /gcc
parent2d0541b99a9b0b9daa06ce3821f27629f25e82dc (diff)
downloadgcc-3bdf58486dbd0f79546c871c118d6f218516db71.zip
gcc-3bdf58486dbd0f79546c871c118d6f218516db71.tar.gz
gcc-3bdf58486dbd0f79546c871c118d6f218516db71.tar.bz2
Avoid losing pending stack adjusts.
From-SVN: r31156
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/expmed.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index acf044a..ccad086 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
+
+ * expmed.c (emit_store_flag): Prevent losing a pending stack
+ adjust the same way we prevent losing queued increments.
+
Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* function.c (update_temp_slot_address): Handle case where sum of
diff --git a/gcc/expmed.c b/gcc/expmed.c
index be458ce..1c9781d 100644
--- a/gcc/expmed.c
+++ b/gcc/expmed.c
@@ -4229,9 +4229,11 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
comparison and then the scc insn.
compare_from_rtx may call emit_queue, which would be deleted below
- if the scc insn fails. So call it ourselves before setting LAST. */
+ if the scc insn fails. So call it ourselves before setting LAST.
+ Likewise for do_pending_stack_adjust. */
emit_queue ();
+ do_pending_stack_adjust ();
last = get_last_insn ();
comparison