From b613740815fa921b1210f87aed3d01a00a59e8bf Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 20 Nov 2018 13:07:53 +0100 Subject: [PATCH] Move some i386 C++ tests into g++.target/i386. 2018-11-20 Martin Liska * pr57362.C: Move to g++.target/i386 folder. * pr57548.C: Likewise. * pr59492.C: Likewise. * pr82625.C: Likewise. * pr85329-2.C: Likewise. * pr85329.C: Likewise. From-SVN: r266312 --- gcc/testsuite/ChangeLog | 9 +++++++++ gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr57362.C | 2 +- gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr57548.C | 2 +- .../{g++.dg/other => g++.target/i386}/pr59492.C | 2 +- gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr82625.C | 1 - .../{g++.dg/ext => g++.target/i386}/pr85329-2.C | 2 +- gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr85329.C | 2 +- 7 files changed, 14 insertions(+), 6 deletions(-) rename gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr57362.C (99%) rename gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr57548.C (93%) rename gcc/testsuite/{g++.dg/other => g++.target/i386}/pr59492.C (87%) rename gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr82625.C (93%) rename gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr85329-2.C (81%) rename gcc/testsuite/{g++.dg/ext => g++.target/i386}/pr85329.C (80%) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 099d464d10e..00475b8c5b9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2018-11-20 Martin Liska + + * pr57362.C: Move to g++.target/i386 folder. + * pr57548.C: Likewise. + * pr59492.C: Likewise. + * pr82625.C: Likewise. + * pr85329-2.C: Likewise. + * pr85329.C: Likewise. + 2018-11-20 Richard Biener PR tree-optimization/88069 diff --git a/gcc/testsuite/g++.dg/ext/pr57362.C b/gcc/testsuite/g++.target/i386/pr57362.C similarity index 99% rename from gcc/testsuite/g++.dg/ext/pr57362.C rename to gcc/testsuite/g++.target/i386/pr57362.C index 07270946d55..8c07e857525 100644 --- a/gcc/testsuite/g++.dg/ext/pr57362.C +++ b/gcc/testsuite/g++.target/i386/pr57362.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ /* { dg-require-ifunc "" } */ __attribute__((target("default"))) diff --git a/gcc/testsuite/g++.dg/ext/pr57548.C b/gcc/testsuite/g++.target/i386/pr57548.C similarity index 93% rename from gcc/testsuite/g++.dg/ext/pr57548.C rename to gcc/testsuite/g++.target/i386/pr57548.C index 1cc728d294c..e027f7d432f 100644 --- a/gcc/testsuite/g++.dg/ext/pr57548.C +++ b/gcc/testsuite/g++.target/i386/pr57548.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ /* { dg-require-ifunc "" } */ int fum (); // Extra declaration that is merged with the second one. diff --git a/gcc/testsuite/g++.dg/other/pr59492.C b/gcc/testsuite/g++.target/i386/pr59492.C similarity index 87% rename from gcc/testsuite/g++.dg/other/pr59492.C rename to gcc/testsuite/g++.target/i386/pr59492.C index 92694ae6dde..25393d7a3c2 100644 --- a/gcc/testsuite/g++.dg/other/pr59492.C +++ b/gcc/testsuite/g++.target/i386/pr59492.C @@ -1,4 +1,4 @@ -// { dg-do assemble { target { { i?86-*-* x86_64-*-* } && fpic } } } +// { dg-do assemble { target { fpic } } } // { dg-options "-mx32 -fPIC" } // { dg-require-ifunc "" } // { dg-require-effective-target maybe_x32 } diff --git a/gcc/testsuite/g++.dg/ext/pr82625.C b/gcc/testsuite/g++.target/i386/pr82625.C similarity index 93% rename from gcc/testsuite/g++.dg/ext/pr82625.C rename to gcc/testsuite/g++.target/i386/pr82625.C index 59b174f8c51..47bd2df1104 100644 --- a/gcc/testsuite/g++.dg/ext/pr82625.C +++ b/gcc/testsuite/g++.target/i386/pr82625.C @@ -1,7 +1,6 @@ /* { dg-do compile } */ /* { dg-require-ifunc "" } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ __attribute__ ((target ("default"))) static unsigned foo(const char *buf, unsigned size) { diff --git a/gcc/testsuite/g++.dg/ext/pr85329-2.C b/gcc/testsuite/g++.target/i386/pr85329-2.C similarity index 81% rename from gcc/testsuite/g++.dg/ext/pr85329-2.C rename to gcc/testsuite/g++.target/i386/pr85329-2.C index 24622d404f7..e58ab4c5955 100644 --- a/gcc/testsuite/g++.dg/ext/pr85329-2.C +++ b/gcc/testsuite/g++.target/i386/pr85329-2.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ /* { dg-require-ifunc "" } */ class b diff --git a/gcc/testsuite/g++.dg/ext/pr85329.C b/gcc/testsuite/g++.target/i386/pr85329.C similarity index 80% rename from gcc/testsuite/g++.dg/ext/pr85329.C rename to gcc/testsuite/g++.target/i386/pr85329.C index fb77e42cd78..4a0ebf29c07 100644 --- a/gcc/testsuite/g++.dg/ext/pr85329.C +++ b/gcc/testsuite/g++.target/i386/pr85329.C @@ -1,4 +1,4 @@ -/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-do compile } */ /* { dg-require-ifunc "" } */ struct a -- 2.30.2