From 8ad4abfc946cff807bf8f0c23b1408ca1ce8a4d1 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 5 Oct 1994 06:56:25 -0400 Subject: [PATCH] (try_merge_delay_insns): Update THREAD if deleting first insn in it. From-SVN: r8221 --- gcc/reorg.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.30.2