]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.dg/compat/struct-layout-1_generate.c (dg-options) Add
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2007 19:47:36 +0000 (19:47 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Nov 2007 19:47:36 +0000 (19:47 +0000)
-fno-common for cygwin and mingw32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130017 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c

index 386301cfb86af44f4123d865f7f3dda75c3d10fb..e04e5e1ae0464edc590556fee96a08bc2cbec060 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-08  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * gcc.dg/compat/struct-layout-1_generate.c (dg-options) Add
+       -fno-common for cygwin and mingw32.
+
 2007-11-08  Kenneth Zadeck <zadeck@naturalbridge.com>
 
        PR middle-end/33826
index 74236437f237f6ee926ad618728adc7b94aed522..f7c943ec56c81bc08e16f9d4120ccf1fd78a841f 100644 (file)
@@ -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\