aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-10-02 20:44:08 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-10-02 20:44:08 -0400
commit8b11645c88adf72510cbb4a7a250c991ae1759c7 (patch)
treedc6ba895da4df3671d8823642fb7b8d3d827beb6 /gcc
parentcafbaf85f5da81f8c37b54c303601a75bd278001 (diff)
downloadgcc-8b11645c88adf72510cbb4a7a250c991ae1759c7.zip
gcc-8b11645c88adf72510cbb4a7a250c991ae1759c7.tar.gz
gcc-8b11645c88adf72510cbb4a7a250c991ae1759c7.tar.bz2
Complete last change.
From-SVN: r8207
Diffstat (limited to 'gcc')
-rw-r--r--gcc/reorg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c
index 98b7f29..40d3702 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -3266,7 +3266,11 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
{
update_block (trial, thread);
if (trial == thread)
- thread = next_active_insn (thread);
+ {
+ thread = next_active_insn (thread);
+ if (new_thread == trial)
+ new_thread = thread;
+ }
delete_insn (trial);
}