Hi,

These two new tests don't work with -m32, because they include headers
that don't support 32-bit.  Require lp64 to stop the noise.  Tested on
powerpc64-linux-gnu (P7, 32/64) and powerpc64le-linux-gnu (P8, 64),
committed as pre-approved.

Thanks!
Bill


[gcc/testsuite]

2018-04-20  Bill Schmidt  <wschm...@linux.ibm.com>

        * g++.dg/ext/undef-bool-1.C: Require lp64.
        * gcc.target/powerpc/undef-bool-2.c: Likewise.


Index: gcc/testsuite/g++.dg/ext/undef-bool-1.C
===================================================================
--- gcc/testsuite/g++.dg/ext/undef-bool-1.C     (revision 259521)
+++ gcc/testsuite/g++.dg/ext/undef-bool-1.C     (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile { target { powerpc*-*-* } } } */
 /* { dg-options "-O2 -DNO_WARN_X86_INTRINSICS -mvsx" } */
+/* { dg-require-effective-target lp64 } */
 
 /* Test to ensure that "bool" gets undef'd in xmmintrin.h when
    we require strict ANSI.  */
Index: gcc/testsuite/gcc.target/powerpc/undef-bool-2.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/undef-bool-2.c     (revision 259521)
+++ gcc/testsuite/gcc.target/powerpc/undef-bool-2.c     (working copy)
@@ -1,5 +1,6 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -std=c11 -DNO_WARN_X86_INTRINSICS -mvsx" } */
+/* { dg-require-effective-target lp64 } */
 
 /* Test to ensure that "bool" gets undef'd in xmmintrin.h when
    we require strict ANSI.  Subsequent use of bool needs stdbool.h.

Reply via email to