Commit db2f8a07 by Richard Kenner

(emit_store_flag): Always set LAST.

From-SVN: r9947
parent 9fe9dd86
...@@ -3851,7 +3851,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep) ...@@ -3851,7 +3851,7 @@ emit_store_flag (target, code, op0, op1, mode, unsignedp, normalizep)
enum machine_mode compare_mode; enum machine_mode compare_mode;
enum machine_mode target_mode = GET_MODE (target); enum machine_mode target_mode = GET_MODE (target);
rtx tem; rtx tem;
rtx last = 0; rtx last = get_last_insn ();
rtx pattern, comparison; rtx pattern, comparison;
/* If one operand is constant, make it the second one. Only do this /* 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) ...@@ -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 /* If expensive optimizations, use different pseudo registers for each
insn, instead of reusing the same pseudo. This leads to better CSE, insn, instead of reusing the same pseudo. This leads to better CSE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment