[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
+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
--- /dev/null
+/* { 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;
+}
+
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}]
+++ /dev/null
-/* { 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;
-}
-