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]

g++.old-deja/g++.other/comdat5.C: Gate on target fpic.


All -fpic -fPIC usage must be gated on target fpic,
imaginable exception for actual usage error message.

Tested cris-axis-elf cris-axis-linux-gnu (for syntax errors).

	* g++.old-deja/g++.other/comdat5.C: Gate on target fpic.

Index: g++.old-deja/g++.other/comdat5.C
===================================================================
--- g++.old-deja/g++.other/comdat5.C	(revision 108273)
+++ g++.old-deja/g++.other/comdat5.C	(working copy)
@@ -1,5 +1,5 @@
 // PR target/17828
-// { dg-do link }
+// { dg-do link { target fpic } }
 // { dg-additional-sources " comdat5-aux.cc" }
 // { dg-options "-O2 -fPIC" }
 

brgds, H-P


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