aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@apple.com>2004-08-17 08:30:54 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-08-17 01:30:54 -0700
commitcc24a60e9564353f792539279a8bfa291455c7d0 (patch)
treebf533fd886ff1c8b398f393c056ba36012476914
parent62fc1d7d18d061f34e73957b3e87511fdc5de3ba (diff)
downloadgcc-cc24a60e9564353f792539279a8bfa291455c7d0.zip
gcc-cc24a60e9564353f792539279a8bfa291455c7d0.tar.gz
gcc-cc24a60e9564353f792539279a8bfa291455c7d0.tar.bz2
* gcc.dg/darwin-20040812-1.c: Compile only on darwin.
From-SVN: r86113
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/darwin-20040812-1.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0f65b73..a4952b1 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-08-17 Andrew Pinski <apinski@apple.com>
+
+ * gcc.dg/darwin-20040812-1.c: Compile only on darwin.
+
2004-08-17 Paolo Bonzini <bonzini@gnu.org>
* gcc.dg/pr17036-1.c: New test.
diff --git a/gcc/testsuite/gcc.dg/darwin-20040812-1.c b/gcc/testsuite/gcc.dg/darwin-20040812-1.c
index 9b2b794..4ae8657 100644
--- a/gcc/testsuite/gcc.dg/darwin-20040812-1.c
+++ b/gcc/testsuite/gcc.dg/darwin-20040812-1.c
@@ -1,7 +1,7 @@
/* Test dead code strip support. */
/* Contributed by Devang Patel <dpatel@apple.com> */
-/* { dg-do compile } */
+/* { dg-do compile { target *-*-darwin* } } */
const char my_version_string[] __attribute__((__used__))
= "Do not remove this string\n";