Commit 74285cd3 by Rainer Orth Committed by Rainer Orth

Build gcc/testsuite/g++.dg/lto/pr86523-[12]_0.C as PIC

	* g++.dg/lto/pr86523-1_0.C: Require fpic, shared support.
	(dg-lto-options): Add -fPIC.
	* g++.dg/lto/pr86523-2_0.C: Likewise.

From-SVN: r262810
parent 48798203
2018-07-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* g++.dg/lto/pr86523-1_0.C: Require fpic, shared support.
(dg-lto-options): Add -fPIC.
* g++.dg/lto/pr86523-2_0.C: Likewise.
2018-07-17 Martin Liska <mliska@suse.cz> 2018-07-17 Martin Liska <mliska@suse.cz>
* gcc.target/powerpc/loop_align.c: Update scanned pattern. * gcc.target/powerpc/loop_align.c: Update scanned pattern.
......
// { dg-lto-do link } // { dg-lto-do link }
// { dg-lto-options {{-O2 -flto -g -shared}} } // { dg-require-effective-target fpic }
// { dg-require-effective-target shared }
// { dg-lto-options { { -O2 -fPIC -flto -g -shared } } }
namespace { namespace {
class a typedef b; class a typedef b;
class a {}; class a {};
......
// { dg-lto-do link } // { dg-lto-do link }
// { dg-lto-options {{-O2 -flto -g -shared}} } // { dg-require-effective-target fpic }
// { dg-require-effective-target shared }
// { dg-lto-options { { -O2 -fPIC -flto -g -shared } } }
class a typedef b; class a typedef b;
class a {}; class a {};
class c { class c {
......
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