http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
--- Comment #10 from minktee <minktee at hotmail dot com> --- Comment on attachment 31105 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31105 lightly tested patch. >diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c >index 212a4bc..23dfc0e 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,