Commit 4cdc2a35 by Eric Botcazou Committed by Eric Botcazou

reorg.c (relax_delay_slots): Check that the jump is conditional before trying to invert it.

	* reorg.c (relax_delay_slots): Check that the jump is
	conditional before trying to invert it.

From-SVN: r96027
parent 0d48fcd1
2005-03-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* reorg.c (relax_delay_slots): Check that the jump is
conditional before trying to invert it.
2005-03-07 Kazu Hirata <kazu@cs.umass.edu>
* bb-reorder.c (max_entry_frequency, max_entry_frequency):
......
......@@ -3379,6 +3379,7 @@ relax_delay_slots (rtx first)
annulled jumps, though. Again, don't convert a jump to a RETURN
here. */
if (! INSN_ANNULLED_BRANCH_P (delay_insn)
&& any_condjump_p (delay_insn)
&& next && JUMP_P (next)
&& (simplejump_p (next) || GET_CODE (PATTERN (next)) == RETURN)
&& next_active_insn (target_label) == next_active_insn (next)
......
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