diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2007-11-08 19:47:36 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2007-11-08 19:47:36 +0000 |
commit | 061c5ee4279886cc47d67c75503b736ec45a4234 (patch) | |
tree | 29350e0dfcbb3574d1ceabeafeb9b973c8345da2 /gcc/testsuite/gcc.dg | |
parent | 4cdf766ef65b67a2479d82e222dc0b12f6d43f7f (diff) | |
download | gcc-061c5ee4279886cc47d67c75503b736ec45a4234.zip gcc-061c5ee4279886cc47d67c75503b736ec45a4234.tar.gz gcc-061c5ee4279886cc47d67c75503b736ec45a4234.tar.bz2 |
* gcc.dg/compat/struct-layout-1_generate.c (dg-options) Add
-fno-common for cygwin and mingw32.
From-SVN: r130017
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c index 7423643..f7c943e 100644 --- a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c +++ b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c @@ -763,7 +763,7 @@ switchfiles (int fields) } fprintf (outfile, "\ /* { dg-options \"-I%s\" } */\n\ -/* { dg-options \"-I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* } } */\n\ +/* { dg-options \"-I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* *-*-mingw32* *-*-cygwin* } } */\n\ /* { dg-options \"-I%s -mno-base-addresses\" { target mmix-*-* } } */\n\ #include \"struct-layout-1.h\"\n\ \n\ @@ -790,7 +790,7 @@ int main (void)\n\ goto fail; fprintf (outfile, "\ /* { dg-options \"-w -I%s\" } */\n\ -/* { dg-options \"-w -I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* } } */\n\ +/* { dg-options \"-w -I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* *-*-mingw32* *-*-cygwin* } } */\n\ /* { dg-options \"-w -I%s -mno-base-addresses\" { target mmix-*-* } } */\n\ #include \"struct-layout-1_x1.h\"\n\ #include \"t%03d_test.h\"\n\ @@ -803,7 +803,7 @@ int main (void)\n\ goto fail; fprintf (outfile, "\ /* { dg-options \"-w -I%s\" } */\n\ -/* { dg-options \"-w -I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* } } */\n\ +/* { dg-options \"-w -I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* *-*-mingw32* *-*-cygwin* } } */\n\ /* { dg-options \"-w -I%s -mno-base-addresses\" { target mmix-*-* } } */\n\ #include \"struct-layout-1_y1.h\"\n\ #include \"t%03d_test.h\"\n\ |