aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2011-05-21 22:03:37 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2011-05-21 22:03:37 +0000
commitbd9a3248ab251b7ba3560b80e589cd55e05a5a8d (patch)
tree86323e12e61e324659529494a9cedb7ea6e2676b
parent6d1e6c0f5bc51270d159fd727b70176963fb2bf5 (diff)
downloadgcc-bd9a3248ab251b7ba3560b80e589cd55e05a5a8d.zip
gcc-bd9a3248ab251b7ba3560b80e589cd55e05a5a8d.tar.gz
gcc-bd9a3248ab251b7ba3560b80e589cd55e05a5a8d.tar.bz2
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
-rw-r--r--gcc/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5e4b726..5cbd9f8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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