From 930dd62797816f510957e824a115528650cd04ad Mon Sep 17 00:00:00 2001 From: Kito Cheng Date: Fri, 2 Aug 2019 03:15:44 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/lto/pr87906_0.C | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 028f978e8b1..b79f3b76dd7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-08-02 Kito Cheng + + * g++.dg/lto/pr87906_0.C: Add dg-require-effective-target shared check. + 2019-08-01 Martin Sebor PR c++/90947 diff --git a/gcc/testsuite/g++.dg/lto/pr87906_0.C b/gcc/testsuite/g++.dg/lto/pr87906_0.C index 434d9fbe142..6a04cd5c6f0 100644 --- a/gcc/testsuite/g++.dg/lto/pr87906_0.C +++ b/gcc/testsuite/g++.dg/lto/pr87906_0.C @@ -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" } -- 2.30.2