aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-05-18 16:53:25 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2009-05-18 09:53:25 -0700
commitcf249b02ea98df08336b39543b54ff2830d87d94 (patch)
treee9e5a6f51a2032441407de43d27c571f9c214d44 /gcc
parent3f1c917c5dd2f91b401304472b3102adf3af52e9 (diff)
downloadgcc-cf249b02ea98df08336b39543b54ff2830d87d94.zip
gcc-cf249b02ea98df08336b39543b54ff2830d87d94.tar.gz
gcc-cf249b02ea98df08336b39543b54ff2830d87d94.tar.bz2
re PR testsuite/39907 (Aligned access to unaligned address)
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: r147667
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.target/x86_64/abi/asm-support.S2
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c900c20..1645ea4 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
diff --git a/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S b/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
index 61b66e1..cb1e31e 100644
--- a/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
+++ b/gcc/testsuite/gcc.target/x86_64/abi/asm-support.S
@@ -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)