This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch][Revised]: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 16:11:40 -0500
- Subject: [Patch][Revised]:PR38166
Revised patch that reverts the changes to class1.C made
by revision 122348 and skips the test now on Darwin.
Approved by Mike Stump in...
http://gcc.gnu.org/ml/gcc-patches/2009-02/msg00868.html
...with reasoning for changes on darwin explained there.
Janis, can you commit this to gcc trunk?
Jack
2009-02-18 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/38166
* g++.dg/ext/visibility/class1.C: Revert revision 122348
and 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,9 +2,10 @@
// 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" } }
+// { dg-final { scan-assembler "InitEv@PLT" } }
#pragma GCC visibility push(hidden)
struct __attribute__ ((visibility ("default"))) nsINIParser