aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-09-15 17:27:11 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-09-15 17:27:11 -0400
commit760607e80cc4a2308e90e328f9997b5018d8d493 (patch)
tree98d7606a5610e2eb4accc01a745de93084422f45
parentff1720ed4112a81885d4b333f2045e47b0d9e693 (diff)
downloadgcc-760607e80cc4a2308e90e328f9997b5018d8d493.zip
gcc-760607e80cc4a2308e90e328f9997b5018d8d493.tar.gz
gcc-760607e80cc4a2308e90e328f9997b5018d8d493.tar.bz2
(fill_slots_from_thread): Update thread if it is split.
From-SVN: r10359
-rw-r--r--gcc/reorg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 4d9563d..00e860c 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)