aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2006-06-29 19:59:23 +0000
committerMike Stump <mrs@gcc.gnu.org>2006-06-29 19:59:23 +0000
commit32df442ab35bf83a2227c86822b0a7dc3b33505f (patch)
treedf05bb9f07cc243d065e138e157aa192068df04b
parent4ada8cdcbe09ce1f239760684e3b27b96fc3ae6d (diff)
downloadgcc-32df442ab35bf83a2227c86822b0a7dc3b33505f.zip
gcc-32df442ab35bf83a2227c86822b0a7dc3b33505f.tar.gz
gcc-32df442ab35bf83a2227c86822b0a7dc3b33505f.tar.bz2
struct-layout-1_generate.c: Don't use common on darwin as we can't align commons large enough yet.
* gcc.dg/compat/struct-layout-1_generate.c: Don't use common on darwin as we can't align commons large enough yet. From-SVN: r115075
-rw-r--r--gcc/testsuite/ChangeLog3
-rw-r--r--gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 024b0e7..2f6fbe2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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>
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 59b777f..09cb0a5 100644
--- a/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c
+++ b/gcc/testsuite/gcc.dg/compat/struct-layout-1_generate.c
@@ -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\