From 9078cd3665d56091735c386dffaa0105d58ba070 Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Wed, 25 Jan 2017 09:24:49 +0000 Subject: [PATCH] [testsuite] Require shared effective target for some lto.exp tests * gcc.dg/lto/pr54709_0.c: Require 'shared' effective target. * gcc.dg/lto/pr61526_0.c: Likewise. * gcc.dg/lto/pr64415_0.c: Likewise. From-SVN: r244891 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/lto/pr54709_0.c | 1 + gcc/testsuite/gcc.dg/lto/pr61526_0.c | 1 + gcc/testsuite/gcc.dg/lto/pr64415_0.c | 1 + 4 files changed, 9 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f8a9536886a..d9921e6a4c6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-01-25 Kyrylo Tkachov + + * gcc.dg/lto/pr54709_0.c: Require 'shared' effective target. + * gcc.dg/lto/pr61526_0.c: Likewise. + * gcc.dg/lto/pr64415_0.c: Likewise. + 2017-01-24 Jakub Jelinek PR c++/79205 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* } } */ -- 2.30.2