From: Eric Botcazou Date: Sat, 21 May 2011 22:03:37 +0000 (+0000) Subject: sparc.c (eligible_for_return_delay): Do not return false if there are call-saved... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd9a3248ab251b7ba3560b80e589cd55e05a5a8d;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e4b726ae82..5cbd9f886cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2011-05-21 Eric Botcazou + + * 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. + 2011-05-21 Nick Clifton PR target/49098