diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-10-05 06:56:25 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-10-05 06:56:25 -0400 |
commit | 8ad4abfc946cff807bf8f0c23b1408ca1ce8a4d1 (patch) | |
tree | be90626436501cd96a00d35b2c08e93208cd37a6 /gcc/reorg.c | |
parent | 90768f280ec9f2aafc201059e1bec29dd8043bf8 (diff) | |
download | gcc-8ad4abfc946cff807bf8f0c23b1408ca1ce8a4d1.tar.gz |
(try_merge_delay_insns): Update THREAD if deleting first insn in it.
From-SVN: r8221
Diffstat (limited to 'gcc/reorg.c')
-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 40d3702394e..2cff2c985ae 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -1790,6 +1790,9 @@ try_merge_delay_insns (insn, thread) if (! annul_p) { update_block (trial, thread); + if (trial == thread) + thread = next_active_insn (thread); + delete_insn (trial); INSN_FROM_TARGET_P (next_to_match) = 0; } |