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 67e970c35dbecb770671f2f1f31be5e6c09be6de..afa010e80d6f39784994834bf06639397e6e2550 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 31b62dad0e0e0cab62ea1186da987cf296acbe86..434d9fbe1428d9278cafbe09f29d3e9807eb181b 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 f35d39c35ed2d3829e12aa6769f639ed547cce61..e5a3b3d8c7621a4b0c649e7e8db6c6a6df06e5d7 100644 (file)
@@ -2,6 +2,7 @@
    parallel of two symbol_refs.  */
 
 /* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
 /* { dg-options "-O3 -fPIC" } */
 
 
index 3194313a265de8d6414fb7f0807129a371b44ad6..317847bad219a286d4b20cf36ccc8047ccae0ea8 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;