(arm_output_epilogue): Update stack pointer when popping saved IP register
authorNick Clifton <nickc@redhat.com>
Thu, 30 Jan 2003 14:13:25 +0000 (14:13 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 30 Jan 2003 14:13:25 +0000 (14:13 +0000)
off the stack.

From-SVN: r62138

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

index 9548a22..bc222aa 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-30  Nick Clifton  <nickc@redhat.com>
+
+       * config/arm/arm.c (arm_output_epilogue): Update stack pointer
+       when popping saved IP register off the stack.
+
 2003-01-30  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/rs6000/aix43.h: Fix comment typos.
index 576d038..20ae697 100644 (file)
@@ -8209,7 +8209,7 @@ arm_output_epilogue (really_return)
       if (IS_INTERRUPT (func_type))
        /* Interrupt handlers will have pushed the
           IP onto the stack, so restore it now.  */
-       print_multi_reg (f, "ldmfd\t%r", SP_REGNUM, 1 << IP_REGNUM);
+       print_multi_reg (f, "ldmfd\t%r!", SP_REGNUM, 1 << IP_REGNUM);
     }
   else
     {