]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR testsuite/39907 (Aligned access to unaligned address)
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 18 May 2009 16:56:42 +0000 (16:56 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 18 May 2009 16:56:42 +0000 (09:56 -0700)
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.

From-SVN: r147669

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

index 9bd9e34a88484ccb818240452777a25f82fa5558..8b7b5383128597dbc18cd033df445c32c2007363 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-10  Paul Thomas  <pault@gcc.gnu.org>
 
        Backport from mainline:
index 00a08c020fd60e1068d20376911630c10f1ec2c1..3497b408439335aec7d9ba753c4969d3163e766c 100644 (file)
@@ -46,7 +46,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)