sparc.c (eligible_for_return_delay): Do not return false if there are call-saved...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 21 May 2011 22:03:37 +0000 (22:03 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 21 May 2011 22:03:37 +0000 (22:03 +0000)
commitbd9a3248ab251b7ba3560b80e589cd55e05a5a8d
tree86323e12e61e324659529494a9cedb7ea6e2676b
parent6d1e6c0f5bc51270d159fd727b70176963fb2bf5
sparc.c (eligible_for_return_delay): Do not return false if there are call-saved registers here...

* config/sparc/sparc.c (eligible_for_return_delay): Do not return
false if there are call-saved registers here...
(sparc_can_use_return_insn_p): ...but here instead.
(save_or_restore_regs): Fix thinko.
(sparc_expand_prologue): Use current_function_is_leaf.
(sparc_frame_pointer_required): Likewise.

From-SVN: r174010
gcc/ChangeLog