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:02:25 +0000 (22:02 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 21 May 2011 22:02:25 +0000 (22:02 +0000)
commit6d1e6c0f5bc51270d159fd727b70176963fb2bf5
treec33f3eff65e9ec19d6c8140cc20ef668bf0f57fb
parentfa4a1e468dd4fc44b1d805142d60ff1c3330276e
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: r174008
gcc/config/sparc/sparc.c