(try_merge_delay_insns): Success when SLOT_NUMBER ==

NUM_SLOTS not when NEXT_TO_MATCH == 0.

From-SVN: r6659
This commit is contained in:
Jim Wilson 1994-02-27 15:16:22 -08:00
parent 3bd98790b0
commit d58b6986f4

View File

@ -1815,7 +1815,7 @@ try_merge_delay_insns (insn, thread)
merged insns. Also clear the INSN_FROM_TARGET_P bit of each insn the merged insns. Also clear the INSN_FROM_TARGET_P bit of each insn the
the delay list so that we know that it isn't only being used at the the delay list so that we know that it isn't only being used at the
target. */ target. */
if (next_to_match == 0 && annul_p) if (slot_number == num_slots && annul_p)
{ {
for (; merged_insns; merged_insns = XEXP (merged_insns, 1)) for (; merged_insns; merged_insns = XEXP (merged_insns, 1))
{ {