Commit 8db13a7f by Joern Rennecke Committed by Joern Rennecke

reorg.c (fill_simple_delay_slots): Avoid calling optimize_skip with a return instruction.

	* reorg.c (fill_simple_delay_slots): Avoid calling optimize_skip
	with a return instruction.

From-SVN: r193171
parent 1bdc4b11
2012-11-05 Joern Rennecke <joern.rennecke@embecosm.com>
* reorg.c (fill_simple_delay_slots): Avoid calling optimize_skip
with a return instruction.
2012-11-05 Vladimir Makarov <vmakarov@redhat.com> 2012-11-05 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/55151 PR rtl-optimization/55151
...@@ -2196,7 +2196,8 @@ fill_simple_delay_slots (int non_jumps_p) ...@@ -2196,7 +2196,8 @@ fill_simple_delay_slots (int non_jumps_p)
if (slots_filled != slots_to_fill if (slots_filled != slots_to_fill
&& delay_list == 0 && delay_list == 0
&& JUMP_P (insn) && JUMP_P (insn)
&& (condjump_p (insn) || condjump_in_parallel_p (insn))) && (condjump_p (insn) || condjump_in_parallel_p (insn))
&& !ANY_RETURN_P (JUMP_LABEL (insn)))
{ {
delay_list = optimize_skip (insn); delay_list = optimize_skip (insn);
if (delay_list) if (delay_list)
......
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