This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch to testsuite] Enable -ms-bitfields tests on cygwin32 and mingw
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Christopher Faylor <cgf at redhat dot com>, rupp at gnat dot com
- Date: Fri, 10 Jan 2003 20:33:12 +1100 (EST)
- Subject: [Patch to testsuite] Enable -ms-bitfields tests on cygwin32 and mingw
Hello
The following patch enables the -mms-bitfields testcases on mingw32 and
cygwin targets.
OK for trunk?
Or should these tests be enabled for all i?86-*-* targets?
2003-01-10 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/bf-ms-layout.c: Enable for cygwin and mingw32 targets.
* gcc.dg/bf-no-ms-layout.c: Likewise.
* gcc.dg/bf-ms-attrib.c: Likewise.
Index: bf-ms-attrib.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/bf-ms-attrib.c,v
retrieving revision 1.1
diff -c -3 -p -r1.1 bf-ms-attrib.c
*** bf-ms-attrib.c 9 Jan 2003 05:23:55 -0000 1.1
--- bf-ms-attrib.c 10 Jan 2003 08:47:10 -0000
***************
*** 3,9 ****
posted to GCC-patches
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
! /* { dg-do run { target *-*-interix* } } */
/* We don't want the default "pedantic-errors" in this case, since we're
testing nonstandard stuff to begin with. */
--- 3,9 ----
posted to GCC-patches
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
! //* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* } } */
/* We don't want the default "pedantic-errors" in this case, since we're
testing nonstandard stuff to begin with. */
Index: bf-ms-layout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/bf-ms-layout.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 bf-ms-layout.c
*** bf-ms-layout.c 16 Dec 2002 18:22:42 -0000 1.2
--- bf-ms-layout.c 10 Jan 2003 08:47:10 -0000
***************
*** 5,11 ****
posted to GCC-patches
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
! /* { dg-do run { target *-*-interix* } } */
/* { dg-options "-mms-bitfields -D_TEST_MS_LAYOUT" } */
#include <stddef.h>
--- 5,11 ----
posted to GCC-patches
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
! /* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* } } */
/* { dg-options "-mms-bitfields -D_TEST_MS_LAYOUT" } */
#include <stddef.h>
Index: bf-no-ms-layout.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/bf-no-ms-layout.c,v
retrieving revision 1.2
diff -c -3 -p -r1.2 bf-no-ms-layout.c
*** bf-no-ms-layout.c 16 Dec 2002 18:22:43 -0000 1.2
--- bf-no-ms-layout.c 10 Jan 2003 08:47:10 -0000
***************
*** 5,11 ****
posted to GCC-patches
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
! /* { dg-do run { target *-*-interix* } } */
/* { dg-options "-mno-ms-bitfields" } */
#include <stddef.h>
--- 5,11 ----
posted to GCC-patches
http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00577.html */
! /* { dg-do run { target *-*-interix* *-*-mingw* *-*-cygwin* } } */
/* { dg-options "-mno-ms-bitfields" } */
#include <stddef.h>
http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?