(fill_slots_from_thread): Update THREAD if it is split.
authorJim Wilson <wilson@gcc.gnu.org>
Tue, 25 Oct 1994 20:14:54 +0000 (13:14 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Tue, 25 Oct 1994 20:14:54 +0000 (13:14 -0700)
From-SVN: r8337

gcc/reorg.c

index 430bc7d040245fb7c1089e76f4966694092e9533..71000107935d5858dc8b6062dcb895098f82f708 100644 (file)
@@ -3297,6 +3297,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 (eligible_for_delay (insn, *pslots_filled, trial, flags))
                goto winner;