* g++.dg/abi/bitfield3.C: Make sure test runs
for windows targets without activated ms-bitfields option.
From-SVN: r182722
2012-12-29 Kai Tietz <ktietz@redhat.com>
+ * g++.dg/abi/bitfield3.C: Make sure test runs
+ for windows targets without activated ms-bitfields option.
+
* g++.old-deja/g++.brendan/new3.C: Adjust test for mingw
targets to use static-version.
* g++.old-deja/g++.abi/cxa_vec.C: Likewise.
// Test for oversized bitfield alignment in structs on IA-32
// { dg-do run { target { { i?86-*-* x86_64-*-* } && ia32 } } }
// { dg-options "-O2" }
-// Cygwin and mingw32 default to MASK_ALIGN_DOUBLE. Override to ensure
+// Cygwin and mingw default to MASK_ALIGN_DOUBLE. Override to ensure
// 4-byte alignment.
-// { dg-options "-mno-align-double" { target i?86-*-cygwin* i?86-*-mingw* } }
+// { dg-additional-options "-mno-align-double" { target i?86-*-cygwin* i?86-*-mingw* } }
+// As for mingw target the ms-bitfield switch is activated by default,
+// make sure for this test that it is disabled.
+// { dg-additional-options "-mno-ms-bitfields" { target i?86-*-mingw* } }
struct A
{