Check -shared is available for pr87906_0.C
authorKito Cheng <kito.cheng@sifive.com>
Fri, 2 Aug 2019 03:15:44 +0000 (03:15 +0000)
committerKito Cheng <kito@gcc.gnu.org>
Fri, 2 Aug 2019 03:15:44 +0000 (03:15 +0000)
gcc/testsuite/ChangeLog:

* g++.dg/lto/pr87906_0.C: Add dg-require-effective-target shared check.

From-SVN: r273994

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr87906_0.C

index 028f978e8b12783b6ec3ac50ea84f54ebd877e73..b79f3b76dd7c7cf33e37c5f717eb91fe95d064d1 100644 (file)
@@ -1,3 +1,7 @@
+2019-08-02  Kito Cheng  <kito.cheng@sifive.com>
+
+       * g++.dg/lto/pr87906_0.C: Add dg-require-effective-target shared check.
+
 2019-08-01  Martin Sebor  <msebor@redhat.com>
 
        PR c++/90947
index 434d9fbe1428d9278cafbe09f29d3e9807eb181b..6a04cd5c6f0f35c3e7b458081cacb96e16f96adc 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-lto-do link }
 // { dg-require-effective-target fpic }
+// { dg-require-effective-target shared }
 // { dg-lto-options { { -O -fPIC -flto } } }
 // { dg-extra-ld-options "-shared -nostdlib" }