From db2f8a07b4bb8870f2141eb14107ec4c72fa982d Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 14 Jun 1995 16:37:00 -0400 Subject: [PATCH] (emit_store_flag): Always set LAST. From-SVN: r9947 --- gcc/expmed.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gcc/expmed.c b/gcc/expmed.c index 4da81a7c94d..fc0f4834d44 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -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, -- 2.30.2