This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
g++.old-deja/g++.other/comdat5.C: Gate on target fpic.
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: jakub at redhat dot com
- Date: Sat, 10 Dec 2005 03:22:38 +0100
- Subject: 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