From 23addc6180ec44ef5922a51c9c00efd4fad6ea49 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Mon, 16 Apr 2018 02:00:43 +0000 Subject: [PATCH] re PR testsuite/85326 (`make check` fails with `--disable-bootstrap` and `--enable-languages=c`) [gcc/testsuite] 2018-04-15 Bill Schmidt PR testsuite/85326 * g++.dg/ext/undef-bool-1.C: New file. * gcc.target/powerpc/powerpc.exp: Remove .C support. * gcc.target/powerpc/undef-bool-1.C: Remove file. From-SVN: r259393 --- gcc/testsuite/ChangeLog | 7 +++++++ .../{gcc.target/powerpc => g++.dg/ext}/undef-bool-1.C | 4 ++-- gcc/testsuite/gcc.target/powerpc/powerpc.exp | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) rename gcc/testsuite/{gcc.target/powerpc => g++.dg/ext}/undef-bool-1.C (60%) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 38920451dd8..70d1c3c1fad 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2018-04-15 Bill Schmidt + + PR testsuite/85326 + * g++.dg/ext/undef-bool-1.C: New file. + * gcc.target/powerpc/powerpc.exp: Remove .C support. + * gcc.target/powerpc/undef-bool-1.C: Remove file. + 2018-04-14 Segher Boessenkool PR target/85293 diff --git a/gcc/testsuite/gcc.target/powerpc/undef-bool-1.C b/gcc/testsuite/g++.dg/ext/undef-bool-1.C similarity index 60% rename from gcc/testsuite/gcc.target/powerpc/undef-bool-1.C rename to gcc/testsuite/g++.dg/ext/undef-bool-1.C index 5bdd6a31e64..11a152d8ee1 100644 --- a/gcc/testsuite/gcc.target/powerpc/undef-bool-1.C +++ b/gcc/testsuite/g++.dg/ext/undef-bool-1.C @@ -1,5 +1,5 @@ -/* { dg-do compile } */ -/* { dg-options "-O2 -std=c++11 -DNO_WARN_X86_INTRINSICS" } */ +/* { dg-do compile { target { powerpc*-*-* } } } */ +/* { dg-options "-O2 -DNO_WARN_X86_INTRINSICS" } */ /* Test to ensure that "bool" gets undef'd in xmmintrin.h when we require strict ANSI. */ diff --git a/gcc/testsuite/gcc.target/powerpc/powerpc.exp b/gcc/testsuite/gcc.target/powerpc/powerpc.exp index 498315c90a1..fdb3e931d71 100644 --- a/gcc/testsuite/gcc.target/powerpc/powerpc.exp +++ b/gcc/testsuite/gcc.target/powerpc/powerpc.exp @@ -35,7 +35,7 @@ if ![info exists DEFAULT_CFLAGS] then { dg-init # Main loop. -dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]] \ +dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \ "" $DEFAULT_CFLAGS set SAVRES_TEST_OPTS [list -Os -O2 {-Os -mno-multiple} {-O2 -mno-multiple}] -- 2.30.2