This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch]:PR38166
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Cc: mrs at apple dot com, janis187 at us dot ibm dot com
- Date: Wed, 18 Feb 2009 12:28:21 -0500
- Subject: [Patch]:PR38166
The attached patch skips g++.dg/ext/visibility/class1.C
on darwin as Apple does in their trees. Tested on
powerpc-apple-darwin9. Okay for gcc trunk?
Jack
2009-02-18 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/38166
* g++.dg/ext/visibility/class1.C: Skip on Darwin.
Index: gcc/testsuite/g++.dg/ext/visibility/class1.C
===================================================================
--- gcc/testsuite/g++.dg/ext/visibility/class1.C (revision 144262)
+++ gcc/testsuite/g++.dg/ext/visibility/class1.C (working copy)
@@ -2,7 +2,8 @@
// Init should not be hidden, so calling it should use the PLT.
// { dg-options "-fpic" }
-// { dg-do compile { target i?86-*-* x86_64-*-* *-*-darwin* } }
+// { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-skip-if "" { *-*-darwin* } { "*" } { "" } }
// { dg-require-visibility "" }
// { dg-final { scan-assembler "InitEv@PLT|indirect_symbol.*InitEv" } }