Avoid losing pending stack adjusts.
authorBernd Schmidt <bernds@cygnus.co.uk>
Sat, 1 Jan 2000 12:12:10 +0000 (12:12 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Sat, 1 Jan 2000 12:12:10 +0000 (12:12 +0000)
From-SVN: r31156

gcc/ChangeLog
gcc/expmed.c

index acf044a9c853b810402c8baac4d1219887145ce1..ccad086bf940146f1c3ac2a2aa8edea6a6815b21 100644 (file)
@@ -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
index be458ce8d05724ed8c8cea33a1426f3bbc295c64..1c9781d1bafed2816886142c4669d3b1ead035f5 100644 (file)
@@ -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