This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]