summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-01-30 10:21:03 +0000
committerYvan Roux <yvan.roux@linaro.org>2017-01-31 09:14:00 +0000
commitb300ea83b9875ebfafb5f2d652d6eb7c3a57c497 (patch)
treed63d6dbfd004ddd0b91a83d0efb18cd69507a7c7
parent226a1dbbe2ea33b6f0e3edac50e56e10a799f3ac (diff)
downloadlinaro-gcc-b300ea83b9875ebfafb5f2d652d6eb7c3a57c497.tar.gz
linaro-gcc-b300ea83b9875ebfafb5f2d652d6eb7c3a57c497.tar.bz2
linaro-gcc-b300ea83b9875ebfafb5f2d652d6eb7c3a57c497.zip
gcc/testsuite/
Backport from trunk r244891. 2016-01-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gcc.dg/lto/pr54709_0.c: Require 'shared' effective target. * gcc.dg/lto/pr61526_0.c: Likewise. * gcc.dg/lto/pr64415_0.c: Likewise. Change-Id: I5e933c61f5f661ec9dcbd04b9f04b28e5c4ec0fb
-rw-r--r--gcc/testsuite/gcc.dg/lto/pr54709_0.c1
-rw-r--r--gcc/testsuite/gcc.dg/lto/pr61526_0.c1
-rw-r--r--gcc/testsuite/gcc.dg/lto/pr64415_0.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/lto/pr54709_0.c b/gcc/testsuite/gcc.dg/lto/pr54709_0.c
index f3db5dcbbc4..69697d89158 100644
--- a/gcc/testsuite/gcc.dg/lto/pr54709_0.c
+++ b/gcc/testsuite/gcc.dg/lto/pr54709_0.c
@@ -1,6 +1,7 @@
/* { dg-lto-do link } */
/* { dg-require-visibility "hidden" } */
/* { dg-require-effective-target fpic } */
+/* { dg-require-effective-target shared } */
/* { dg-extra-ld-options { -shared } } */
/* { dg-lto-options { { -fPIC -fvisibility=hidden -flto } } } */
diff --git a/gcc/testsuite/gcc.dg/lto/pr61526_0.c b/gcc/testsuite/gcc.dg/lto/pr61526_0.c
index 8a631f058ed..d3e2c8008db 100644
--- a/gcc/testsuite/gcc.dg/lto/pr61526_0.c
+++ b/gcc/testsuite/gcc.dg/lto/pr61526_0.c
@@ -1,4 +1,5 @@
/* { dg-require-effective-target fpic } */
+/* { dg-require-effective-target shared } */
/* { dg-lto-do link } */
/* { dg-lto-options { { -fPIC -flto -flto-partition=1to1 } } } */
/* { dg-extra-ld-options { -shared } } */
diff --git a/gcc/testsuite/gcc.dg/lto/pr64415_0.c b/gcc/testsuite/gcc.dg/lto/pr64415_0.c
index 4faab2bac35..11218e07285 100644
--- a/gcc/testsuite/gcc.dg/lto/pr64415_0.c
+++ b/gcc/testsuite/gcc.dg/lto/pr64415_0.c
@@ -1,5 +1,6 @@
/* { dg-lto-do link } */
/* { dg-require-effective-target fpic } */
+/* { dg-require-effective-target shared } */
/* { dg-lto-options { { -O -flto -fpic } } } */
/* { dg-extra-ld-options { -shared } } */
/* { dg-extra-ld-options "-Wl,-undefined,dynamic_lookup" { target *-*-darwin* } } */