re PR testsuite/85326 (`make check` fails with `--disable-bootstrap` and `--enable...
authorBill Schmidt <wschmidt@linux.ibm.com>
Mon, 16 Apr 2018 02:00:43 +0000 (02:00 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Mon, 16 Apr 2018 02:00:43 +0000 (02:00 +0000)
[gcc/testsuite]

2018-04-15  Bill Schmidt  <wschmidt@linux.ibm.com>

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
gcc/testsuite/g++.dg/ext/undef-bool-1.C [moved from gcc/testsuite/gcc.target/powerpc/undef-bool-1.C with 60% similarity]
gcc/testsuite/gcc.target/powerpc/powerpc.exp

index 3892045..70d1c3c 100644 (file)
@@ -1,3 +1,10 @@
+2018-04-15  Bill Schmidt  <wschmidt@linux.ibm.com>
+
+       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  <segher@kernel.crashing.org>
 
        PR target/85293
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 5bdd6a3..11a152d 100644 (file)
@@ -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.  */
index 498315c..fdb3e93 100644 (file)
@@ -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}]