reorg.c (find_end_label): Update unfilled_slots if the return insn we make has a delay slot.
* reorg.c (find_end_label): Update unfilled_slots if the return insn we make has a delay slot. From-SVN: r3736
This commit is contained in:
parent
7963ac373a
commit
5fcd63d09c
|
@ -727,8 +727,12 @@ find_end_label ()
|
|||
#ifdef HAVE_return
|
||||
if (HAVE_return)
|
||||
{
|
||||
emit_jump_insn (gen_return ());
|
||||
/* The return we make may have delay slots too. */
|
||||
rtx insn = gen_return();
|
||||
emit_jump_insn (insn);
|
||||
emit_barrier ();
|
||||
if (num_delay_slots (insn) > 0)
|
||||
obstack_ptr_grow (&unfilled_slots_obstack, insn);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue