Commit 930dd627 by Kito Cheng Committed by Kito Cheng

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
parent bd289cdb
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> 2019-08-01 Martin Sebor <msebor@redhat.com>
PR c++/90947 PR c++/90947
......
// { dg-lto-do link } // { dg-lto-do link }
// { dg-require-effective-target fpic } // { dg-require-effective-target fpic }
// { dg-require-effective-target shared }
// { dg-lto-options { { -O -fPIC -flto } } } // { dg-lto-options { { -O -fPIC -flto } } }
// { dg-extra-ld-options "-shared -nostdlib" } // { dg-extra-ld-options "-shared -nostdlib" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment