backport: re PR testsuite/39907 (Aligned access to unaligned address)

2009-05-18  H.J. Lu  <hongjiu.lu@intel.com>

	Backport from mainline:
	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: r147668
This commit is contained in:
H.J. Lu 2009-05-18 16:54:31 +00:00 committed by H.J. Lu
parent b7943d39f0
commit e1c380c052
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2009-05-18 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:
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 Richard Guenther <rguenther@suse.de>
PR tree-optimization/39999

View 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)