summaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-30 10:54:04 +0000
committerramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>2013-10-30 10:54:04 +0000
commit9a228f68817f79bbd1d295b8e6fcaed25c47ee8f (patch)
tree4f4310f789c944c0fdaa7ee3ba27e46c4db29661 /gcc/config/arm
parent650c2fed048d28a5c0759ae4dff43182f4d41b44 (diff)
downloadgcc-9a228f68817f79bbd1d295b8e6fcaed25c47ee8f.tar.gz
Fix PR target/58854
2013-10-30 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/58854 * config/arm/arm.c (arm_expand_epilogue_apcs_frame): Emit blockage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/arm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index 212a4bcc7dc..23dfc0e5cad 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -26547,6 +26547,7 @@ arm_expand_epilogue_apcs_frame (bool really_return)
num_regs = bit_count (saved_regs_mask);
if ((offsets->outgoing_args != (1 + num_regs)) || cfun->calls_alloca)
{
+ emit_insn (gen_blockage ());
/* Unwind the stack to just below the saved registers. */
emit_insn (gen_addsi3 (stack_pointer_rtx,
hard_frame_pointer_rtx,