patches/gcc/4.8.2/100-arm_expand_epilogue_apcs_frame-emit-blockage.patch
changeset 3294 c65fcf8a34b7
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/gcc/4.8.2/100-arm_expand_epilogue_apcs_frame-emit-blockage.patch	Thu Apr 17 18:17:12 2014 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +commit 9a228f68817f79bbd1d295b8e6fcaed25c47ee8f
     1.5 +Author: ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4>
     1.6 +Date:   Wed Oct 30 10:54:04 2013 +0000
     1.7 +
     1.8 +    Fix PR target/58854
     1.9 +    
    1.10 +    2013-10-30  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
    1.11 +    
    1.12 +    	PR target/58854
    1.13 +    	* config/arm/arm.c (arm_expand_epilogue_apcs_frame): Emit blockage.
    1.14 +    
    1.15 +    
    1.16 +    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204203 138bc75d-0d04-0410-961f-82ee72b054a4
    1.17 +
    1.18 +[yann.morin.1998@free.fr: removed the patch to the Changelog, it does not
    1.19 + apply and we don't really need it; re-diff to avoid offsets]
    1.20 +
    1.21 +diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
    1.22 +index 212a4bc..23dfc0e 100644
    1.23 +--- a/gcc/config/arm/arm.c
    1.24 ++++ b/gcc/config/arm/arm.c
    1.25 +@@ -23555,6 +23555,7 @@ arm_expand_epilogue_apcs_frame (bool really_return)
    1.26 +   num_regs = bit_count (saved_regs_mask);
    1.27 +   if ((offsets->outgoing_args != (1 + num_regs)) || cfun->calls_alloca)
    1.28 +     {
    1.29 ++      emit_insn (gen_blockage ());
    1.30 +       /* Unwind the stack to just below the saved registers.  */
    1.31 +       emit_insn (gen_addsi3 (stack_pointer_rtx,
    1.32 +                              hard_frame_pointer_rtx,