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]

[COMMITTED] Fix pr89330_0.C test


Fix pr89330_0.C test by adding missing effective target shared.
Committed as obvious.

ChangeLog:
2019-08-01  Wilco Dijkstra  <wdijkstr@arm.com>

	* gcc/testsuite/g++.dg/lto/pr89330_0.C: Add effective-target shared.

--
diff --git a/gcc/testsuite/g++.dg/lto/pr89330_0.C b/gcc/testsuite/g++.dg/lto/pr89330_0.C
index 7335e6919d164de425ebb9661189f0a1807388e1..9f06556754af4a5b25f62460c63868c9887b5528 100644
--- a/gcc/testsuite/g++.dg/lto/pr89330_0.C
+++ b/gcc/testsuite/g++.dg/lto/pr89330_0.C
@@ -1,6 +1,7 @@
 // { dg-lto-do link }
 // { dg-lto-options { { -O3 -g -flto -shared -fPIC -Wno-odr } } }
 // { dg-require-effective-target fpic }
+// { dg-require-effective-target shared }
 
 namespace Inkscape {
 class Anchored {};


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