From: Sandra Loosemore Date: Tue, 22 Jan 2019 18:36:47 +0000 (-0500) Subject: pr87906_0.C: Add dg-require-effective-target fpic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a8c906ca4309e46f626b7e387c9cd2c474a29e7;p=gcc.git pr87906_0.C: Add dg-require-effective-target fpic. 2019-01-22 Sandra Loosemore gcc/testsuite/ * g++.dg/lto/pr87906_0.C: Add dg-require-effective-target fpic. * g++.dg/vec-init-1.C: Likewise. * gcc.dg/pr87793.c: Likewise. From-SVN: r268162 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 67e970c35db..afa010e80d6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-01-22 Sandra Loosemore + + * g++.dg/lto/pr87906_0.C: Add dg-require-effective-target fpic. + * g++.dg/vec-init-1.C: Likewise. + * gcc.dg/pr87793.c: Likewise. + 2019-01-22 Sandra Loosemore * g++.dg/cpp0x/pr86397-1.C: Add -fdelete-null-pointer-checks. diff --git a/gcc/testsuite/g++.dg/lto/pr87906_0.C b/gcc/testsuite/g++.dg/lto/pr87906_0.C index 31b62dad0e0..434d9fbe142 100644 --- a/gcc/testsuite/g++.dg/lto/pr87906_0.C +++ b/gcc/testsuite/g++.dg/lto/pr87906_0.C @@ -1,4 +1,5 @@ // { dg-lto-do link } +// { dg-require-effective-target fpic } // { dg-lto-options { { -O -fPIC -flto } } } // { dg-extra-ld-options "-shared -nostdlib" } diff --git a/gcc/testsuite/g++.dg/vec-init-1.C b/gcc/testsuite/g++.dg/vec-init-1.C index f35d39c35ed..e5a3b3d8c76 100644 --- a/gcc/testsuite/g++.dg/vec-init-1.C +++ b/gcc/testsuite/g++.dg/vec-init-1.C @@ -2,6 +2,7 @@ parallel of two symbol_refs. */ /* { dg-do compile } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-O3 -fPIC" } */ diff --git a/gcc/testsuite/gcc.dg/pr87793.c b/gcc/testsuite/gcc.dg/pr87793.c index 3194313a265..317847bad21 100644 --- a/gcc/testsuite/gcc.dg/pr87793.c +++ b/gcc/testsuite/gcc.dg/pr87793.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-options "-fpic -Os -g" } */ +/* { dg-require-effective-target fpic } */ struct fit_loadable_tbl { int type;