From 917ad3c6853ae16b6e1fb1b75573ad23f67accd7 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Wed, 17 Jun 2015 22:34:57 +0200 Subject: [PATCH] noplt-1.c (dg-do): Fix target selector. * gcc.target/i386/noplt-1.c (dg-do): Fix target selector. * gcc.target/i386/noplt-2.c (dg-do): Ditto. * gcc.target/i386/noplt-3.c (dg-do): Ditto. * gcc.target/i386/noplt-4.c (dg-do): ditto. From-SVN: r224578 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/gcc.target/i386/noplt-1.c | 2 +- gcc/testsuite/gcc.target/i386/noplt-2.c | 2 +- gcc/testsuite/gcc.target/i386/noplt-3.c | 2 +- gcc/testsuite/gcc.target/i386/noplt-4.c | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 7d774cb7e82..bdf4bd2e175 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2015-06-17 Uros Bizjak + + * gcc.target/i386/noplt-1.c (dg-do): Fix target selector. + * gcc.target/i386/noplt-2.c (dg-do): Ditto. + * gcc.target/i386/noplt-3.c (dg-do): Ditto. + * gcc.target/i386/noplt-4.c (dg-do): ditto. + 2015-06-17 Jakub Jelinek PR c++/66571 diff --git a/gcc/testsuite/gcc.target/i386/noplt-1.c b/gcc/testsuite/gcc.target/i386/noplt-1.c index d9e5d6ea7ca..cc04bf52def 100644 --- a/gcc/testsuite/gcc.target/i386/noplt-1.c +++ b/gcc/testsuite/gcc.target/i386/noplt-1.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target x86_64-*-linux* } } */ +/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */ /* { dg-options "-fno-pic" } */ __attribute__ ((noplt)) diff --git a/gcc/testsuite/gcc.target/i386/noplt-2.c b/gcc/testsuite/gcc.target/i386/noplt-2.c index 4df0618b679..54e33f4bd42 100644 --- a/gcc/testsuite/gcc.target/i386/noplt-2.c +++ b/gcc/testsuite/gcc.target/i386/noplt-2.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target x86_64-*-linux* } } */ +/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */ /* { dg-options "-O2 -fno-pic" } */ diff --git a/gcc/testsuite/gcc.target/i386/noplt-3.c b/gcc/testsuite/gcc.target/i386/noplt-3.c index e2a6f938649..14e6b6be858 100644 --- a/gcc/testsuite/gcc.target/i386/noplt-3.c +++ b/gcc/testsuite/gcc.target/i386/noplt-3.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target x86_64-*-linux* } } */ +/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */ /* { dg-options "-fno-pic -fno-plt" } */ void foo(); diff --git a/gcc/testsuite/gcc.target/i386/noplt-4.c b/gcc/testsuite/gcc.target/i386/noplt-4.c index d9039dd77c1..990734741bb 100644 --- a/gcc/testsuite/gcc.target/i386/noplt-4.c +++ b/gcc/testsuite/gcc.target/i386/noplt-4.c @@ -1,4 +1,4 @@ -/* { dg-do compile { target x86_64-*-linux* } } */ +/* { dg-do compile { target { *-*-linux* && { ! ia32 } } } } */ /* { dg-options "-O2 -fno-pic -fno-plt" } */ int foo(); -- 2.30.2