OSDN Git Service

2009-08-29 Kai Tietz<kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Aug 2009 17:58:52 +0000 (17:58 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Aug 2009 17:58:52 +0000 (17:58 +0000)
        PR/41184
        * config/i386.c (ix86_expand_epilogue): Correct stack adjustment for
        padding.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151204 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 89ccac0..c2f7d4d 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-29  Kai Tietz<kai.tietz@onevision.com>
+
+        PR/41184
+        * config/i386.c (ix86_expand_epilogue): Correct stack adjustment for
+        padding.
+
 2009-08-29  Douglas B Rupp  <rupp@gnat.com>
 
        * crtstuff.c (__do_global_dtors_aux): Use atexit if no
index 3a12c27..0316b36 100644 (file)
@@ -8949,7 +8949,7 @@ ix86_expand_epilogue (int style)
                                                frame.to_allocate, red_offset,
                                                style == 2);
          pro_epilogue_adjust_stack (stack_pointer_rtx, stack_pointer_rtx,
-                                    GEN_INT (frame.nsseregs * 16),
+                                    GEN_INT (frame.nsseregs * 16 + frame.padding0),
                                     style, false);
        }
       else if (frame.to_allocate || frame.nsseregs)