Check -shared is available for pr87906_0.C

gcc/testsuite/ChangeLog:

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

From-SVN: r273994
This commit is contained in:
Kito Cheng 2019-08-02 03:15:44 +00:00 committed by Kito Cheng
parent bd289cdb80
commit 930dd62797
2 changed files with 5 additions and 0 deletions

View 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

View 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" }