OSDN Git Service

Avoid losing pending stack adjusts.
authorcrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Jan 2000 12:12:10 +0000 (12:12 +0000)
committercrux <crux@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Jan 2000 12:12:10 +0000 (12:12 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31156 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/expmed.c

index acf044a..ccad086 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 be458ce..1c9781d 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