diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-10-02 14:58:47 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-10-02 14:58:47 -0400 |
commit | 9bfe7965ed1369931c5ffcbbc47530943f5ac9e8 (patch) | |
tree | 3e17b2020ee5bc23896e5b0ba200a9370a789fb4 | |
parent | 988337ca704454a79edec069264f11205f7ff2fd (diff) | |
download | gcc-9bfe7965ed1369931c5ffcbbc47530943f5ac9e8.zip gcc-9bfe7965ed1369931c5ffcbbc47530943f5ac9e8.tar.gz gcc-9bfe7965ed1369931c5ffcbbc47530943f5ac9e8.tar.bz2 |
(fill_slots_from_thread): Update THREAD if deleting its first insn.
From-SVN: r8203
-rw-r--r-- | gcc/reorg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/reorg.c b/gcc/reorg.c index 4082ad8..98b7f29 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3265,6 +3265,9 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely, if (own_thread) { update_block (trial, thread); + if (trial == thread) + thread = next_active_insn (thread); + delete_insn (trial); } else |