From b152aee5c740cd65bdab7c0093dfd3d06dc27b55 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 10 Jun 2004 01:48:50 +0000 Subject: [PATCH] i386-bitfield1.c: Add mingw32 and cygwin to targets that use default windows32 struct layout. * gcc.dg/i386-bitfield1.c: Add mingw32 and cygwin to targets that use default windows32 struct layout. * gcc.dg/i386-bitfield2.c: Likewise. From-SVN: r82878 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/i386-bitfield1.c | 2 +- gcc/testsuite/gcc.dg/i386-bitfield2.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c17c6704de7..6c802a847f7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-06-10 Danny Smith + + * gcc.dg/i386-bitfield1.c: Add mingw32 and cygwin to targets + that use default windows32 struct layout. + * gcc.dg/i386-bitfield2.c: Likewise. + 2004-06-09 Danny Smith * g++.dg/abi/bitfield3.C: Add -mno-align-double compile option diff --git a/gcc/testsuite/gcc.dg/i386-bitfield1.c b/gcc/testsuite/gcc.dg/i386-bitfield1.c index 26154f57d11..21916c1cc7e 100644 --- a/gcc/testsuite/gcc.dg/i386-bitfield1.c +++ b/gcc/testsuite/gcc.dg/i386-bitfield1.c @@ -1,7 +1,7 @@ // Test for bitfield alignment in structs on IA-32 // { dg-do run { target i?86-*-* } } // { dg-options "-O2" } -// { dg-options "-mno-align-double -mno-ms-bitfields" { target *-*-interix* } } +// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-interix* i?86-*-cygwin* i?86-*-mingw*} } extern void abort (void); extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/i386-bitfield2.c b/gcc/testsuite/gcc.dg/i386-bitfield2.c index 2ea798207dc..9e5da397877 100644 --- a/gcc/testsuite/gcc.dg/i386-bitfield2.c +++ b/gcc/testsuite/gcc.dg/i386-bitfield2.c @@ -1,7 +1,7 @@ // Test for bitfield alignment in structs on IA-32 // { dg-do run { target i?86-*-* } } // { dg-options "-O2" } -// { dg-options "-mno-align-double -mno-ms-bitfields" { target *-*-interix* } } +// { dg-options "-mno-align-double -mno-ms-bitfields" { target i?86-*-interix* i?86-*-cygwin* i?86-*-mingw* } } extern void abort (void); extern void exit (int); -- 2.30.2