[committed] Really require visibility in g++.dg/ext/visibility/class1.C

Danny Smith dannysmith@clear.net.nz
Tue Aug 8 06:19:00 GMT 2006


Hello

I have commited the following testsuite patch as obvious to avoid
spurious failure on
visibility-deficient targets.

2006-08-07  Danny Smith  <dannysmith@users.sourceforge.net>

	* g++.dg/ext/visibility/class1.C (dg-require-visibility): Move
	 after dg-do compile.

Index: g++.dg/ext/visibility/class1.C
===================================================================
--- g++.dg/ext/visibility/class1.C	(revision 115913)
+++ g++.dg/ext/visibility/class1.C	(working copy)
@@ -1,9 +1,9 @@
 // PR c++/26905
 // Init should not be hidden, so calling it should use the PLT.
 
-// { dg-require-visibility "" }
 // { dg-options "-fpic" }
 // { dg-do compile { target i?86-*-* x86_64-*-* } }
+// { dg-require-visibility "" }
 // { dg-final { scan-assembler "InitEv@PLT" } }
 
 #pragma GCC visibility push(hidden)



More information about the Gcc-patches mailing list