Commit 8ad4abfc by Richard Kenner

(try_merge_delay_insns): Update THREAD if deleting first insn in it.

From-SVN: r8221
parent 90768f28
...@@ -1790,6 +1790,9 @@ try_merge_delay_insns (insn, thread) ...@@ -1790,6 +1790,9 @@ try_merge_delay_insns (insn, thread)
if (! annul_p) if (! annul_p)
{ {
update_block (trial, thread); update_block (trial, thread);
if (trial == thread)
thread = next_active_insn (thread);
delete_insn (trial); delete_insn (trial);
INSN_FROM_TARGET_P (next_to_match) = 0; INSN_FROM_TARGET_P (next_to_match) = 0;
} }
......
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