OSDN Git Service

2009-05-18 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 May 2009 16:53:25 +0000 (16:53 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 May 2009 16:53:25 +0000 (16:53 +0000)
PR testsuite/39907
* gcc.target/x86_64/abi/asm-support.S (snapshot_ret): Preserve
stack alignment.

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/x86_64/abi/asm-support.S

index c900c20..1645ea4 100644 (file)
@@ -1,3 +1,9 @@
+2009-05-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR testsuite/39907
+       * gcc.target/x86_64/abi/asm-support.S (snapshot_ret): Preserve
+       stack alignment.
+
 2009-05-18  Janus Weil  <janus@gcc.gnu.org>
 
        PR fortran/40164
index 61b66e1..cb1e31e 100644 (file)
@@ -49,7 +49,9 @@ snapshot:
        .type   snapshot_ret, @function
 snapshot_ret:
        movq    %rdi, rdi(%rip)
+       subq    $8, %rsp
        call    *callthis(%rip)
+       addq    $8, %rsp
        movq    %rax, rax(%rip)
        movq    %rdx, rdx(%rip)
        movdqu  %xmm0, xmm_regs+0(%rip)