aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-10-25 13:14:54 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-10-25 13:14:54 -0700
commit9b9cd81b10acdf329c80ea031f98c44c42cf52a1 (patch)
treea1bc9a9ce1452c3dbd2a75e8a87e34d35a42d3b1
parentd2863d21cad622bae650fca661810969931a1be8 (diff)
downloadgcc-9b9cd81b10acdf329c80ea031f98c44c42cf52a1.zip
gcc-9b9cd81b10acdf329c80ea031f98c44c42cf52a1.tar.gz
gcc-9b9cd81b10acdf329c80ea031f98c44c42cf52a1.tar.bz2
(fill_slots_from_thread): Update THREAD if it is split.
From-SVN: r8337
-rw-r--r--gcc/reorg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 430bc7d..7100010 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -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;