From 061c5ee4279886cc47d67c75503b736ec45a4234 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 8 Nov 2007 19:47:36 +0000 Subject: [PATCH] * gcc.dg/compat/struct-layout-1_generate.c (dg-options) Add -fno-common for cygwin and mingw32. From-SVN: r130017 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 386301cfb86..e04e5e1ae04 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-11-08 Danny Smith + + * gcc.dg/compat/struct-layout-1_generate.c (dg-options) Add + -fno-common for cygwin and mingw32. + 2007-11-08 Kenneth Zadeck PR middle-end/33826 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 74236437f23..f7c943ec56c 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\ -- 2.30.2