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)
* 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

index 5e4b726ae8250783b065053d0c74e546b529f0d5..5cbd9f886cc0c0e696d6852b5a1045d8246611e4 100644 (file)
@@ -1,3 +1,12 @@
+2011-05-21  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * 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  <nickc@redhat.com>
 
        PR target/49098