re PR target/58854 ("sub sp, fp, #40" hoisted above frame accesses)
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Wed, 30 Oct 2013 10:54:04 +0000 (10:54 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Wed, 30 Oct 2013 10:54:04 +0000 (10:54 +0000)
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.

From-SVN: r204203

gcc/ChangeLog
gcc/config/arm/arm.c

index e733a50d580b42460788b63afa91d7dc5cea2f1c..03c6e220f704802b0de9fe714d9069290ce29de7 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-30  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       PR target/58854
+       * config/arm/arm.c (arm_expand_epilogue_apcs_frame): Emit blockage.
+
 2013-10-30  Ilya Enkovich  <ilya.enkovich@intel.com>
 
        * tree-core.h (tree_index): Add TI_POINTER_BOUNDS_TYPE.
index 212a4bcc7dcff7d4aa26c8a8d4a8bec57beab738..23dfc0e5cad88e920ce5d1d0078164e1776a3118 100644 (file)
@@ -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,