summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2017-01-12 17:42:33 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2017-01-12 17:42:33 -0500
commit76a8f82f47b81064fe1c14c2e670a100ec421183 (patch)
tree65c0fe94d64143ca63e7884efe12475b6b867c9b
parent59a505da6b3e5e8b363d9ca87fe375a6a7553e5f (diff)
downloadgcc-76a8f82f47b81064fe1c14c2e670a100ec421183.tar.gz
pr77862.c: Require fpic target.
2017-01-12 Sandra Loosemore <sandra@codesourcery.com> gcc/testsuite/ * gcc.dg/pr77862.c: Require fpic target. From-SVN: r244387
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/pr77862.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e5b0f067362..d8fa57c1469 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-12 Sandra Loosemore <sandra@codesourcery.com>
+
+ * gcc.dg/pr77862.c: Require fpic target.
+
2017-01-12 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/79004
diff --git a/gcc/testsuite/gcc.dg/pr77862.c b/gcc/testsuite/gcc.dg/pr77862.c
index e9096d2fbee..a048cb4a74f 100644
--- a/gcc/testsuite/gcc.dg/pr77862.c
+++ b/gcc/testsuite/gcc.dg/pr77862.c
@@ -1,6 +1,7 @@
/* PR tree-optimization/77862 */
/* { dg-do compile } */
+/* { dg-require-effective-target fpic } */
/* { dg-options "-O2 -fPIC -w" } */
struct paramed_type