From 8b11645c88adf72510cbb4a7a250c991ae1759c7 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 2 Oct 1994 20:44:08 -0400 Subject: [PATCH] Complete last change. From-SVN: r8207 --- gcc/reorg.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/reorg.c b/gcc/reorg.c index 98b7f299060..40d3702394e 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3266,7 +3266,11 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely, { update_block (trial, thread); if (trial == thread) - thread = next_active_insn (thread); + { + thread = next_active_insn (thread); + if (new_thread == trial) + new_thread = thread; + } delete_insn (trial); }