Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-28 Thread Mike Stump
On Dec 16, 2011, at 9:56 AM, Dave Korn dave.korn.cyg...@gmail.com wrote: On 16/12/2011 09:01, Kai Tietz wrote: 2011/12/15 Dave Korn: { dg-options -mno-align-double { target i?86-*-cygwin* i?86-*-mingw* } } { dg-additional-options -mno-ms-bitfields { target i?86-*-mingw* } } ... so that

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-27 Thread Kai Tietz
Ping 2011/12/16 Dave Korn dave.korn.cyg...@gmail.com: On 16/12/2011 09:01, Kai Tietz wrote: 2011/12/15 Dave Korn: { dg-options -mno-align-double { target i?86-*-cygwin* i?86-*-mingw* } } { dg-additional-options -mno-ms-bitfields { target i?86-*-mingw* } } ... so that MinGW gets both and

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-16 Thread Dave Korn
On 16/12/2011 09:01, Kai Tietz wrote: 2011/12/15 Dave Korn: { dg-options -mno-align-double { target i?86-*-cygwin* i?86-*-mingw* } } { dg-additional-options -mno-ms-bitfields { target i?86-*-mingw* } } ... so that MinGW gets both and Cygwin only the one it wants? (Actually the first one

[patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-15 Thread Kai Tietz
Hi, In gcc 4.7 the default for IA mingw targets about ms-bitfields was changed. So patch adjusts testcase to make sure we disable it for mingw targets ChangeLog 2011-12-15 Kai Tietz kti...@redhat.com * g++.dg/abi/bitfield3.C: Make sure test runs for windows targets without

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-15 Thread Kai Tietz
2011/12/15 Rainer Orth r...@cebitec.uni-bielefeld.de: Kai Tietz ktiet...@googlemail.com writes: Index: g++.dg/abi/bitfield3.C === --- g++.dg/abi/bitfield3.C    (revision 182092) +++ g++.dg/abi/bitfield3.C    (working copy) @@

Re: [patch testsuite g++.dg]: Reflect ABI change for windows native targets about bitfield layout in structures

2011-12-15 Thread Dave Korn
On 15/12/2011 10:33, Kai Tietz wrote: -// { dg-options -mno-align-double { target i?86-*-cygwin* i?86-*-mingw* } } +// As for mingw target the the ms-bitfield switch is activated by default, +// make sure for this test that it is disabled. +// { dg-options -mno-align-double -mno-ms-bitfields