Fix g++.dg/lto/pr89330 on Solaris

* g++.dg/lto/pr89330_0.C (dg-lto-options): Add -fPIC.
	Require fpic support.

From-SVN: r273856
This commit is contained in:
Rainer Orth 2019-07-28 12:31:17 +00:00 committed by Rainer Orth
parent aef57966f4
commit 4f394a9e1c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2019-07-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/lto/pr89330_0.C (dg-lto-options): Add -fPIC.
Require fpic support.
2019-07-27 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/powerpc/bmi2-bzhi64-1a.c: Add options to enable altivec

View File

@ -1,5 +1,6 @@
// { dg-lto-do link }
// { dg-lto-options { { -O3 -g -flto -shared -Wno-odr } } }
// { dg-lto-options { { -O3 -g -flto -shared -fPIC -Wno-odr } } }
// { dg-require-effective-target fpic }
namespace Inkscape {
class Anchored {};