From 9bfe7965ed1369931c5ffcbbc47530943f5ac9e8 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 2 Oct 1994 14:58:47 -0400 Subject: [PATCH] (fill_slots_from_thread): Update THREAD if deleting its first insn. From-SVN: r8203 --- gcc/reorg.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2