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 [new file with mode: 0644]
gcc/testsuite/gcc.target/powerpc/powerpc.exp
gcc/testsuite/gcc.target/powerpc/undef-bool-1.C [deleted file]

index 38920451dd8f313c5cbc53ce2f7a745b0232091e..70d1c3c1fade6df49e608f80545b928fb2be58b7 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
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 (file)
index 0000000..11a152d
--- /dev/null
@@ -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 <xmmintrin.h>
+
+bool foo (int x)
+{
+  return x == 2;
+}
+
index 498315c90a19c7f8776d9ae2a89a1c98372d3816..fdb3e931d713d7249178887ee06fcac3b28e1159 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}]
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 (file)
index 5bdd6a3..0000000
+++ /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 <xmmintrin.h>
-
-bool foo (int x)
-{
-  return x == 2;
-}
-