Commit d58b6986 by Jim Wilson

(try_merge_delay_insns): Success when SLOT_NUMBER ==

NUM_SLOTS not when NEXT_TO_MATCH == 0.

From-SVN: r6659
parent 3bd98790
...@@ -1815,7 +1815,7 @@ try_merge_delay_insns (insn, thread) ...@@ -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))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment