* config/arm/arm.c (arm_expand_epilogue_apcs_frame): Fix thinko.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Dec 2013 15:15:03 +0000 (15:15 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Dec 2013 15:15:03 +0000 (15:15 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206087 138bc75d-0d04-0410-961f-82ee72b054a4

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

index f7164e8..46f1e9b 100644 (file)
@@ -1,3 +1,7 @@
+2013-12-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/arm/arm.c (arm_expand_epilogue_apcs_frame): Fix thinko.
+
 2013-12-18  James Greenhalgh  <james.greenhalgh@arm.com>
               Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
index 05fc2f9..8fea2a6 100644 (file)
@@ -26855,8 +26855,8 @@ arm_expand_epilogue_apcs_frame (bool really_return)
 
   if (crtl->calls_eh_return)
     emit_insn (gen_addsi3 (stack_pointer_rtx,
-               stack_pointer_rtx,
-               GEN_INT (ARM_EH_STACKADJ_REGNUM)));
+                          stack_pointer_rtx,
+                          gen_rtx_REG (SImode, ARM_EH_STACKADJ_REGNUM)));
 
   if (IS_STACKALIGN (func_type))
     /* Restore the original stack pointer.  Before prologue, the stack was