diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2010-10-26 13:56:42 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2010-10-26 06:56:42 -0700 |
commit | f28e93a8a563dc2202264ffef34e129e8ce5eeef (patch) | |
tree | 2c78afba269a3dd635960b56f043f279eb00af53 /gcc/testsuite/gcc.dg/compat/struct-align-1_y.c | |
parent | 76d8a30aaf0a266709be00a9e01148e60d803f1e (diff) | |
download | gcc-f28e93a8a563dc2202264ffef34e129e8ce5eeef.zip gcc-f28e93a8a563dc2202264ffef34e129e8ce5eeef.tar.gz gcc-f28e93a8a563dc2202264ffef34e129e8ce5eeef.tar.bz2 |
Properly align parameters on stack for x86.
gcc/
2010-10-26 H.J. Lu <hongjiu.lu@intel.com>
PR target/44948
* config/i386/i386.c (ix86_old_function_arg_boundary): New.
(ix86_function_arg_boundary): Always align parameters on stack
in 64bit and align parameters with alignment >= 16byte on stack
in 32bit. Warn alignment change.
gcc/testsuite/
2010-10-26 H.J. Lu <hongjiu.lu@intel.com>
PR target/44948
* g++.dg/abi/param2.C: Add -Wno-psabi for ilp32 x86.
* g++.dg/vect/pr33860a.cc: Likewise.
* gcc.c-torture/compile/20070522-1.c: Likewise.
* gcc.dg/compat/struct-align-1_x.c: Likewise.
* gcc.dg/compat/struct-align-1_y.c: Likewise.
* gcc.dg/compat/struct-align-2_x.c: Likewise.
* gcc.dg/compat/struct-align-2_y.c: Likewise.
* gcc.dg/pr44136.c: Likewise.
* gcc.c-torture/compile/pr33617.c: Add -Wno-psabi for x86.
* gcc.dg/compat/vector-1_x.c: Likewise.
* gcc.dg/compat/vector-1_y.c: Likewise.
* gcc.dg/compat/vector-2_x.c: Likewise.
* gcc.dg/compat/vector-2_y.c: Likewise.
* gcc.dg/pr43300.c: Likewise.
* gcc.dg/compat/vector-1a_x.c: Add -Wno-psabi.
* gcc.dg/compat/vector-1a_y.c: Likewise.
* gcc.dg/compat/vector-1b_x.c: Likewise.
* gcc.dg/compat/vector-1b_y.c: Likewise.
* gcc.dg/compat/vector-2a_x.c: Likewise.
* gcc.dg/compat/vector-2a_y.c: Likewise.
* gcc.dg/compat/vector-2b_x.c: Likewise.
* gcc.dg/compat/vector-2b_y.c: Likewise.
* gcc.target/i386/pr39162.c: Likewise.
* gcc.target/i386/pr40906-2.c: Likewise.
* gcc.target/i386/sse-5.c: Likewise.
* gcc.dg/pr35442.c: Prune ABI change warnings.
* gcc.c-torture/execute/pr38151.x: New.
* gcc.target/i386/pr44948-1a.c: Likewise.
* gcc.target/i386/pr44948-1b.c: Likewise.
* gcc.target/i386/pr44948-2a.c: Likewise.
* gcc.target/i386/pr44948-2b.c: Likewise.
From-SVN: r165965
Diffstat (limited to 'gcc/testsuite/gcc.dg/compat/struct-align-1_y.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-align-1_y.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/struct-align-1_y.c b/gcc/testsuite/gcc.dg/compat/struct-align-1_y.c index c858e10..77cb098 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-align-1_y.c +++ b/gcc/testsuite/gcc.dg/compat/struct-align-1_y.c @@ -1,3 +1,5 @@ +/* { dg-options "-Wno-psabi" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */ + #include "compat-common.h" #include "struct-align-1.h" |