From: Andreas Tobler Date: Thu, 21 May 2015 18:13:06 +0000 (+0200) Subject: pr32219-1.c: Use 'dg-require-effective-target pie' instead of listing several targets... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2aa3880198cbb4902d9757d32d61f8370325f707;p=gcc.git pr32219-1.c: Use 'dg-require-effective-target pie' instead of listing several targets on its own. 2015-05-21 Andreas Tobler * gcc.target/i386/pr32219-1.c: Use 'dg-require-effective-target pie' instead of listing several targets on its own. * gcc.target/i386/pr32219-2.c: Likewise. * gcc.target/i386/pr32219-3.c: Likewise. * gcc.target/i386/pr32219-4.c: Likewise. * gcc.target/i386/pr32219-5.c: Likewise. * gcc.target/i386/pr32219-6.c: Likewise * gcc.target/i386/pr32219-7.c: Likewise. * gcc.target/i386/pr32219-8.c: Likewise. * gcc.target/i386/pr39013-1.c: Likewise. * gcc.target/i386/pr39013-2.c: Likewise. * gcc.target/i386/pr64317.c: Likewise. From-SVN: r223498 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 20a437918a3..df8d64cede9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,18 @@ +2015-05-21 Andreas Tobler + + * gcc.target/i386/pr32219-1.c: Use 'dg-require-effective-target pie' + instead of listing several targets on its own. + * gcc.target/i386/pr32219-2.c: Likewise. + * gcc.target/i386/pr32219-3.c: Likewise. + * gcc.target/i386/pr32219-4.c: Likewise. + * gcc.target/i386/pr32219-5.c: Likewise. + * gcc.target/i386/pr32219-6.c: Likewise + * gcc.target/i386/pr32219-7.c: Likewise. + * gcc.target/i386/pr32219-8.c: Likewise. + * gcc.target/i386/pr39013-1.c: Likewise. + * gcc.target/i386/pr39013-2.c: Likewise. + * gcc.target/i386/pr64317.c: Likewise. + 2015-05-21 Jeff Law * gcc.target/hppa/shadd-4.c: New test. diff --git a/gcc/testsuite/gcc.target/i386/pr32219-1.c b/gcc/testsuite/gcc.target/i386/pr32219-1.c index 2622f663059..bb28f9f0f58 100644 --- a/gcc/testsuite/gcc.target/i386/pr32219-1.c +++ b/gcc/testsuite/gcc.target/i386/pr32219-1.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target *-*-linux* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpie" } */ /* Initialized common symbol with -fpie. */ diff --git a/gcc/testsuite/gcc.target/i386/pr32219-2.c b/gcc/testsuite/gcc.target/i386/pr32219-2.c index 0cf2eb565c8..9159d458b90 100644 --- a/gcc/testsuite/gcc.target/i386/pr32219-2.c +++ b/gcc/testsuite/gcc.target/i386/pr32219-2.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target *-*-linux* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpic" } */ /* Common symbol with -fpic. */ diff --git a/gcc/testsuite/gcc.target/i386/pr32219-3.c b/gcc/testsuite/gcc.target/i386/pr32219-3.c index 911f2a56d5d..657fb7831f0 100644 --- a/gcc/testsuite/gcc.target/i386/pr32219-3.c +++ b/gcc/testsuite/gcc.target/i386/pr32219-3.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target *-*-linux* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpie" } */ /* Weak common symbol with -fpie. */ diff --git a/gcc/testsuite/gcc.target/i386/pr32219-4.c b/gcc/testsuite/gcc.target/i386/pr32219-4.c index 3d434393538..16b40b3800b 100644 --- a/gcc/testsuite/gcc.target/i386/pr32219-4.c +++ b/gcc/testsuite/gcc.target/i386/pr32219-4.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target *-*-linux* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpic" } */ /* Weak common symbol with -fpic. */ diff --git a/gcc/testsuite/gcc.target/i386/pr32219-5.c b/gcc/testsuite/gcc.target/i386/pr32219-5.c index ee7442eb803..e8844c85ff0 100644 --- a/gcc/testsuite/gcc.target/i386/pr32219-5.c +++ b/gcc/testsuite/gcc.target/i386/pr32219-5.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target *-*-linux* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpie" } */ /* Initialized symbol with -fpie. */ diff --git a/gcc/testsuite/gcc.target/i386/pr32219-6.c b/gcc/testsuite/gcc.target/i386/pr32219-6.c index f261433538e..4b582e7e7ab 100644 --- a/gcc/testsuite/gcc.target/i386/pr32219-6.c +++ b/gcc/testsuite/gcc.target/i386/pr32219-6.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target *-*-linux* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpic" } */ /* Initialized symbol with -fpic. */ diff --git a/gcc/testsuite/gcc.target/i386/pr32219-7.c b/gcc/testsuite/gcc.target/i386/pr32219-7.c index 12aaf7224d8..9273d3ed9bb 100644 --- a/gcc/testsuite/gcc.target/i386/pr32219-7.c +++ b/gcc/testsuite/gcc.target/i386/pr32219-7.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target *-*-linux* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpie" } */ /* Weak initialized symbol with -fpie. */ diff --git a/gcc/testsuite/gcc.target/i386/pr32219-8.c b/gcc/testsuite/gcc.target/i386/pr32219-8.c index 2e4fba07a05..b2ac7023b17 100644 --- a/gcc/testsuite/gcc.target/i386/pr32219-8.c +++ b/gcc/testsuite/gcc.target/i386/pr32219-8.c @@ -1,4 +1,5 @@ -/* { dg-do compile { target *-*-linux* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpic" } */ /* Weak initialized symbol with -fpic. */ diff --git a/gcc/testsuite/gcc.target/i386/pr39013-1.c b/gcc/testsuite/gcc.target/i386/pr39013-1.c index 1bfab88b7fa..ac22746772b 100644 --- a/gcc/testsuite/gcc.target/i386/pr39013-1.c +++ b/gcc/testsuite/gcc.target/i386/pr39013-1.c @@ -1,5 +1,6 @@ /* PR target/39013 */ -/* { dg-do compile { target *-*-linux* *-*-gnu* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpie -std=gnu89" } */ inline int foo (void); diff --git a/gcc/testsuite/gcc.target/i386/pr39013-2.c b/gcc/testsuite/gcc.target/i386/pr39013-2.c index a85ce76e4c0..3040d81a44d 100644 --- a/gcc/testsuite/gcc.target/i386/pr39013-2.c +++ b/gcc/testsuite/gcc.target/i386/pr39013-2.c @@ -1,5 +1,6 @@ /* PR target/39013 */ -/* { dg-do compile { target *-*-linux* *-*-gnu* } } */ +/* { dg-do compile } */ +/* { dg-require-effective-target pie } */ /* { dg-options "-O2 -fpie -std=gnu99" } */ inline int foo (void); /* { dg-warning "declared but never defined" } */ diff --git a/gcc/testsuite/gcc.target/i386/pr64317.c b/gcc/testsuite/gcc.target/i386/pr64317.c index 8cac6ddb25d..0bbd4fad188 100644 --- a/gcc/testsuite/gcc.target/i386/pr64317.c +++ b/gcc/testsuite/gcc.target/i386/pr64317.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target { *-*-linux* && ia32 } } } */ +/* { dg-do compile { target { { *-*-freebsd* *-*-linux* } && ia32 } } } */ /* { dg-options "-O2 -fpie" } */ /* { dg-final { scan-assembler "addl\[ \\t\]+\[$\]_GLOBAL_OFFSET_TABLE_, %ebx" } } */ /* { dg-final { scan-assembler "movl\[ \\t\]+c@GOTOFF\[(\]%ebx\[)\]" } } */