From: Richard Kenner Date: Fri, 15 Sep 1995 21:27:11 +0000 (-0400) Subject: (fill_slots_from_thread): Update thread if it is split. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=760607e80cc4a2308e90e328f9997b5018d8d493;p=gcc.git (fill_slots_from_thread): Update thread if it is split. From-SVN: r10359 --- diff --git a/gcc/reorg.c b/gcc/reorg.c index 4d9563d490d..00e860ce087 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3386,6 +3386,8 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely, trial = try_split (pat, trial, 0); if (new_thread == old_trial) new_thread = trial; + if (thread == old_trial) + thread = trial; pat = PATTERN (trial); if ((thread_if_true ? eligible_for_annul_false (insn, *pslots_filled, trial, flags)