(emit_store_flag): Always set LAST.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 14 Jun 1995 20:37:00 +0000 (16:37 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 14 Jun 1995 20:37:00 +0000 (16:37 -0400)
From-SVN: r9947

gcc/expmed.c

index 4da81a7c94db4f5e24062bfc4e56c49e993fdffc..fc0f4834d44b43813ef96f35f0fb2799ffca42ff 100644 (file)
@@ -3851,7 +3851,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
   enum machine_mode compare_mode;
   enum machine_mode target_mode = GET_MODE (target);
   rtx tem;
-  rtx last = 0;
+  rtx last = get_last_insn ();
   rtx pattern, comparison;
 
   /* If one operand is constant, make it the second one.  Only do this
@@ -4049,8 +4049,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
        }
     }
 
-  if (last)
-    delete_insns_since (last);
+  delete_insns_since (last);
 
   /* If expensive optimizations, use different pseudo registers for each
      insn, instead of reusing the same pseudo.  This leads to better CSE,