From: Bill Schmidt Date: Fri, 20 Apr 2018 21:00:41 +0000 (+0000) Subject: undef-bool-1.C: Require lp64. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8833e667be9d960a556b53bfd25101165b92a0b5;p=gcc.git undef-bool-1.C: Require lp64. [gcc/testsuite] 2018-04-20 Bill Schmidt * g++.dg/ext/undef-bool-1.C: Require lp64. * gcc.target/powerpc/undef-bool-2.c: Likewise. From-SVN: r259532 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5c33c35892b..29808a14d01 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-04-20 Bill Schmidt + + * g++.dg/ext/undef-bool-1.C: Require lp64. + * gcc.target/powerpc/undef-bool-2.c: Likewise. + 2018-04-20 Jeff Law * gcc.dg/stack-check-5.c: Improve dg-skip-if selector for the diff --git a/gcc/testsuite/g++.dg/ext/undef-bool-1.C b/gcc/testsuite/g++.dg/ext/undef-bool-1.C index 096ec818f77..716e06c1ce4 100644 --- a/gcc/testsuite/g++.dg/ext/undef-bool-1.C +++ b/gcc/testsuite/g++.dg/ext/undef-bool-1.C @@ -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. */ diff --git a/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c b/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c index 8417813d15b..bb8e4260aa0 100644 --- a/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c +++ b/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c @@ -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.