Commit 9bfe7965 by Richard Kenner

(fill_slots_from_thread): Update THREAD if deleting its first insn.

From-SVN: r8203
parent 988337ca
...@@ -3265,6 +3265,9 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely, ...@@ -3265,6 +3265,9 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
if (own_thread) if (own_thread)
{ {
update_block (trial, thread); update_block (trial, thread);
if (trial == thread)
thread = next_active_insn (thread);
delete_insn (trial); delete_insn (trial);
} }
else else
......
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