From: Richard Kenner Date: Sun, 2 Oct 1994 18:58:47 +0000 (-0400) Subject: (fill_slots_from_thread): Update THREAD if deleting its first insn. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9bfe7965ed1369931c5ffcbbc47530943f5ac9e8;p=gcc.git (fill_slots_from_thread): Update THREAD if deleting its first insn. From-SVN: r8203 --- diff --git a/gcc/reorg.c b/gcc/reorg.c index 4082ad8de51..98b7f299060 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3265,6 +3265,9 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely, if (own_thread) { update_block (trial, thread); + if (trial == thread) + thread = next_active_insn (thread); + delete_insn (trial); } else