]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Backport a change to the 2.95 branch
authorBernd Schmidt <bernds@redhat.co.uk>
Thu, 30 Nov 2000 11:49:02 +0000 (11:49 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 30 Nov 2000 11:49:02 +0000 (11:49 +0000)
From-SVN: r37874

gcc/ChangeLog
gcc/expmed.c

index af8ef3d161275d39bc39dc0ac54a13e291b628f9..78677b51c56951526420e257c2ff83fbd1da8de4 100644 (file)
@@ -1,3 +1,9 @@
+2000-11-30  Bernd Schmidt  <bernds@redhat.co.uk>
+
+       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.
+
 2000-10-27  Bernd Schmidt  <bernds@redhat.co.uk>
 
        * expr.c (expand_expr, case INDIRECT_REF): If the address is a
index ffe16fedaf47f142417a45ed004a5ec217afaf7a..dd5973dae4bbf658d0424326d8136a7e0c03805f 100644 (file)
@@ -4194,9 +4194,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