OSDN Git Service

gcc/
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Mar 2009 15:45:10 +0000 (15:45 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 29 Mar 2009 15:45:10 +0000 (15:45 +0000)
commit40513f402264c4267e81fe80911296d0977eaa16
treecba7f35352c729ab5821e99609fcba6153c1ad4d
parent0d3a7d37d8c300e7f3486bcce423e565d26ee273
gcc/

2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39545
* config/i386/i386.c (classify_argument): Ignore flexible array
member in struct and warn ABI change.

gcc/testsuite/

2009-03-29  H.J. Lu  <hongjiu.lu@intel.com>

PR target/39545
* gcc.c-torture/compile/pr16566-2.c: Add -Wno-psabi for x86-64.

* gcc.target/i386/pr39545-1.c: New.
* gcc.target/i386/pr39545-2.c: Likewise.

* gcc.target/x86_64/abi/test_passing_structs.c (flex1_struct): New.
(flex2_struct): Likewise.
(check_struct_passing7): Likewise.
(check_struct_passing8): Likewise.
(f1s): Likewise.
(f2s): Likewise.
(main): Call check_struct_passing7 and check_struct_passing8.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145237 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr16566-2.c
gcc/testsuite/gcc.target/i386/pr39545-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr39545-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/x86_64/abi/test_passing_structs.c