Commit 783e5bca by Richard Kenner

(cse_insn): When emitting a BARRIER, don't put it after a deleted

insn.

From-SVN: r9283
parent a229128d
...@@ -6969,7 +6969,7 @@ cse_insn (insn, in_libcall_block) ...@@ -6969,7 +6969,7 @@ cse_insn (insn, in_libcall_block)
if (NEXT_INSN (insn) == 0 if (NEXT_INSN (insn) == 0
|| GET_CODE (NEXT_INSN (insn)) != BARRIER) || GET_CODE (NEXT_INSN (insn)) != BARRIER)
emit_barrier_after (insn); emit_barrier_before (NEXT_INSN (insn));
/* We might have two BARRIERs separated by notes. Delete the second /* We might have two BARRIERs separated by notes. Delete the second
one if so. */ one if so. */
......
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