Commit 9fca773d by Richard Kenner

(relax_delay_slots): Only look at JUMP_LABEL for a condjump_p.

From-SVN: r2935
parent 6a270722
...@@ -3207,6 +3207,7 @@ relax_delay_slots (first) ...@@ -3207,6 +3207,7 @@ relax_delay_slots (first)
the next insn, or jumps to a label that is not the last of a the next insn, or jumps to a label that is not the last of a
group of consecutive labels. */ group of consecutive labels. */
if (GET_CODE (insn) == JUMP_INSN if (GET_CODE (insn) == JUMP_INSN
&& condjump_p (insn)
&& (target_label = JUMP_LABEL (insn)) != 0) && (target_label = JUMP_LABEL (insn)) != 0)
{ {
target_label = follow_jumps (target_label); target_label = follow_jumps (target_label);
......
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