(fill_slots_from_thread): Update thread if it is split.
authorRichard Kenner <kenner@gcc.gnu.org>
Fri, 15 Sep 1995 21:27:11 +0000 (17:27 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Fri, 15 Sep 1995 21:27:11 +0000 (17:27 -0400)
From-SVN: r10359

gcc/reorg.c

index 4d9563d490d4ad94b9566c31813ad5fee4fc4444..00e860ce087765a8f63fe11686c57d5ace6d706a 100644 (file)
@@ -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)