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
This commit is contained in:
parent
1bdc4b116e
commit
8db13a7fd8
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
PR rtl-optimization/55151
|
||||
|
@ -2196,7 +2196,8 @@ fill_simple_delay_slots (int non_jumps_p)
|
||||
if (slots_filled != slots_to_fill
|
||||
&& delay_list == 0
|
||||
&& 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);
|
||||
if (delay_list)
|
||||
|
Loading…
Reference in New Issue
Block a user