pr87906_0.C: Add dg-require-effective-target fpic.
authorSandra Loosemore <sandra@codesourcery.com>
Tue, 22 Jan 2019 18:36:47 +0000 (13:36 -0500)
committerSandra Loosemore <sandra@gcc.gnu.org>
Tue, 22 Jan 2019 18:36:47 +0000 (13:36 -0500)
2019-01-22  Sandra Loosemore  <sandra@codesourcery.com>

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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr87906_0.C
gcc/testsuite/g++.dg/vec-init-1.C
gcc/testsuite/gcc.dg/pr87793.c

index 67e970c..afa010e 100644 (file)
@@ -1,5 +1,11 @@
 2019-01-22  Sandra Loosemore  <sandra@codesourcery.com>
 
+       * 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  <sandra@codesourcery.com>
+
        * g++.dg/cpp0x/pr86397-1.C: Add -fdelete-null-pointer-checks.
        * g++.dg/cpp0x/pr86397-2.C: Likewise.
 
index 31b62da..434d9fb 100644 (file)
@@ -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" }
 
index f35d39c..e5a3b3d 100644 (file)
@@ -2,6 +2,7 @@
    parallel of two symbol_refs.  */
 
 /* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
 /* { dg-options "-O3 -fPIC" } */
 
 
index 3194313..317847b 100644 (file)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-fpic -Os -g" } */
+/* { dg-require-effective-target fpic } */
 
 struct fit_loadable_tbl {
        int type;