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
This commit is contained in:
parent
487982030e
commit
74285cd3a9
3 changed files with 12 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
||||
* gcc.target/powerpc/loop_align.c: Update scanned pattern.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// { 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 {
|
||||
class a typedef b;
|
||||
class a {};
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
// { 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 {};
|
||||
class c {
|
||||
|
|
Loading…
Add table
Reference in a new issue