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" } }