From: dannysmith Date: Thu, 8 Nov 2007 19:47:36 +0000 (+0000) Subject: * gcc.dg/compat/struct-layout-1_generate.c (dg-options) Add X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f6ad0ef90d904a6251d2cac94e3f036378a53c5;p=thirdparty%2Fgcc.git * gcc.dg/compat/struct-layout-1_generate.c (dg-options) Add -fno-common for cygwin and mingw32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130017 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 386301cfb86a..e04e5e1ae046 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 74236437f237..f7c943ec56c8 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\