From: Bill Schmidt Date: Mon, 16 Apr 2018 02:00:43 +0000 (+0000) Subject: re PR testsuite/85326 (`make check` fails with `--disable-bootstrap` and `--enable... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23addc6180ec44ef5922a51c9c00efd4fad6ea49;p=gcc.git 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 --- 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/g++.dg/ext/undef-bool-1.C b/gcc/testsuite/g++.dg/ext/undef-bool-1.C new file mode 100644 index 00000000000..11a152d8ee1 --- /dev/null +++ b/gcc/testsuite/g++.dg/ext/undef-bool-1.C @@ -0,0 +1,13 @@ +/* { 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. */ + +#include + +bool foo (int x) +{ + return x == 2; +} + 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}] diff --git a/gcc/testsuite/gcc.target/powerpc/undef-bool-1.C b/gcc/testsuite/gcc.target/powerpc/undef-bool-1.C deleted file mode 100644 index 5bdd6a31e64..00000000000 --- a/gcc/testsuite/gcc.target/powerpc/undef-bool-1.C +++ /dev/null @@ -1,13 +0,0 @@ -/* { dg-do compile } */ -/* { dg-options "-O2 -std=c++11 -DNO_WARN_X86_INTRINSICS" } */ - -/* Test to ensure that "bool" gets undef'd in xmmintrin.h when - we require strict ANSI. */ - -#include - -bool foo (int x) -{ - return x == 2; -} -