From: Wilco Dijkstra Date: Thu, 1 Aug 2019 12:54:23 +0000 (+0000) Subject: Fix pr89330_0.C test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd1f6968d6bf1bb4f7dd0726394217fe25deb943;p=gcc.git Fix pr89330_0.C test Fix pr89330_0.C test by adding missing effective target shared. Committed as obvious. testsuite/ * gcc/testsuite/g++.dg/lto/pr89330_0.C: Add effective-target shared. From-SVN: r273973 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e54fa5760bd..8b0365a43b2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-08-01 Wilco Dijkstra + + * gcc/testsuite/g++.dg/lto/pr89330_0.C: Add effective-target shared. + 2019-08-01 Kito Cheng * gcc.target/riscv/attribute-10.c: Fix testcase on rv64. diff --git a/gcc/testsuite/g++.dg/lto/pr89330_0.C b/gcc/testsuite/g++.dg/lto/pr89330_0.C index 7335e6919d1..9f06556754a 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 {};