]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/arm/arm.c (arm_expand_epilogue_apcs_frame): Fix thinko.
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 18 Dec 2013 15:15:03 +0000 (15:15 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 18 Dec 2013 15:15:03 +0000 (15:15 +0000)
From-SVN: r206087

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

index f7164e8de05f56ccc72a786aa1bc562cb8b2f42b..46f1e9b64fce61a5cc3100cb45b68b4d1adf6424 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 05fc2f973fd40e6264a653c49a4b046f066240a6..8fea2a6ed51ec3f6d1ddd89ba643f1f200db44fc 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