From: Rainer Orth Date: Sat, 12 Aug 2017 16:00:00 +0000 (+0000) Subject: Require -static support in gcc.dg/pie-static-[12].c (PR testsuite/81793) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d9255af200248cefc59f2c4730768dacbbb9a8b;p=gcc.git Require -static support in gcc.dg/pie-static-[12].c (PR testsuite/81793) PR testsuite/81793 * gcc.dg/pie-static-1.c: Require both static and pie support. * gcc.dg/pie-static-2.c: Likewise. From-SVN: r251067 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e13b30ba250..29afe109e9c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-08-12 Rainer Orth + + PR testsuite/81793 + * gcc.dg/pie-static-1.c: Require both static and pie support. + * gcc.dg/pie-static-2.c: Likewise. + 2017-08-12 Pierre-Marie de Rodat PR ada/79542 diff --git a/gcc/testsuite/gcc.dg/pie-static-1.c b/gcc/testsuite/gcc.dg/pie-static-1.c index f3580efdfe6..4273049be7b 100644 --- a/gcc/testsuite/gcc.dg/pie-static-1.c +++ b/gcc/testsuite/gcc.dg/pie-static-1.c @@ -1,4 +1,6 @@ -/* { dg-do run { target pie } } */ +/* { dg-do run } */ +/* { dg-require-effective-target static } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-static -fpie -pie" } */ int main(void) diff --git a/gcc/testsuite/gcc.dg/pie-static-2.c b/gcc/testsuite/gcc.dg/pie-static-2.c index 49608c5fb2a..a673c997af8 100644 --- a/gcc/testsuite/gcc.dg/pie-static-2.c +++ b/gcc/testsuite/gcc.dg/pie-static-2.c @@ -1,4 +1,6 @@ -/* { dg-do run { target pie } } */ +/* { dg-do run } */ +/* { dg-require-effective-target pie } */ +/* { dg-require-effective-target static } */ /* { dg-options "-fpie -pie -static" } */ int main(void)