aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Billinghurst <David.Billinghurst@riotinto.com>2002-02-12 22:46:25 +0000
committerDavid Billinghurst <billingd@gcc.gnu.org>2002-02-12 22:46:25 +0000
commit845d6a2f5ada77599956850f792baea8b1d8e195 (patch)
tree8e5c856eca7fb135d18448680e945d204fa696e4
parente6834654ca4f725fca97095f372d69a92eb74f49 (diff)
downloadgcc-845d6a2f5ada77599956850f792baea8b1d8e195.zip
gcc-845d6a2f5ada77599956850f792baea8b1d8e195.tar.gz
gcc-845d6a2f5ada77599956850f792baea8b1d8e195.tar.bz2
weak1.C: weak attributes not supported on cygwin
2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com> * g++.dg/warn/weak1.C: weak attributes not supported on cygwin From-SVN: r49716
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/warn/weak1.C4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d85cdbb..dd61046 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-02-12 David Billinghurst <David.Billinghurst@riotinto.com>
+
+ * g++.dg/warn/weak1.C: weak attributes not supported on cygwin
+
2002-02-13 Stan Shebs <shebs@apple.com>
* gcc.dg/altivec-3.c: New.
diff --git a/gcc/testsuite/g++.dg/warn/weak1.C b/gcc/testsuite/g++.dg/warn/weak1.C
index a7d8cfb..6b20976 100644
--- a/gcc/testsuite/g++.dg/warn/weak1.C
+++ b/gcc/testsuite/g++.dg/warn/weak1.C
@@ -1,6 +1,6 @@
// { dg-do run }
-// { dg-do compile { target *-*-coff } }
-// { dg-warning "weak declaration" "COFF format does not support weak" { target *-*-coff } 5 }
+// { dg-do compile { target *-*-coff i?86-pc-cygwin } }
+// { dg-warning "weak declaration" "COFF format does not support weak" { target *-*-coff i?86-pc-cygwin } 5 }
extern void foo (void) __attribute__ ((weak));