OSDN Git Service

* gcc.dg/compat/struct-layout-1_generate.c: Don't use common
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jun 2006 19:59:23 +0000 (19:59 +0000)
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jun 2006 19:59:23 +0000 (19:59 +0000)
on darwin as we can't align commons large enough yet.

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

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

index 024b0e7..2f6fbe2 100644 (file)
@@ -1,5 +1,8 @@
 2006-06-29  Mike Stump  <mrs@apple.com>
 
+       * gcc.dg/compat/struct-layout-1_generate.c: Don't use common
+       on darwin as we can't align commons large enough yet.
+
        * gcc.dg/vla-8.c: Add additional testcases.
 
 2006-06-26  Steve Ellcey  <sje@cup.hp.com>
index 59b777f..09cb0a5 100644 (file)
@@ -757,7 +757,7 @@ switchfiles (int fields)
     }
   fprintf (outfile, "\
 /* { dg-options \"-I%s\" } */\n\
-/* { dg-options \"-I%s -fno-common\" { target hppa*-*-hpux* } } */\n\
+/* { dg-options \"-I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* } } */\n\
 /* { dg-options \"-I%s -mno-base-addresses\" { target mmix-*-* } } */\n\
 #include \"struct-layout-1.h\"\n\
 \n\
@@ -784,7 +784,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* } } */\n\
+/* { dg-options \"-w -I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* } } */\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\
@@ -797,7 +797,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* } } */\n\
+/* { dg-options \"-w -I%s -fno-common\" { target hppa*-*-hpux* *-*-darwin* } } */\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\