From e66e5d5f11876a73295712e038ba8c8d1c660499 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Wed, 18 Apr 2018 01:56:59 +0000 Subject: [PATCH] undef-bool-2.c: Add -mvsx. [gcc/testsuite] 2018-04-17 Bill Schmidt * gcc.target/powerpc/undef-bool-2.c: Add -mvsx. * gcc.target/g++.dg/ext/undef-bool-1.C: Likewise. From-SVN: r259456 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/ext/undef-bool-1.C | 2 +- gcc/testsuite/gcc.target/powerpc/undef-bool-2.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index df909f7aa2b..6dba141769f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-04-17 Bill Schmidt + + * gcc.target/powerpc/undef-bool-2.c: Add -mvsx. + * gcc.target/g++.dg/ext/undef-bool-1.C: Likewise. + 2018-04-17 Jakub Jelinek PR testsuite/85326 diff --git a/gcc/testsuite/g++.dg/ext/undef-bool-1.C b/gcc/testsuite/g++.dg/ext/undef-bool-1.C index 11a152d8ee1..096ec818f77 100644 --- a/gcc/testsuite/g++.dg/ext/undef-bool-1.C +++ b/gcc/testsuite/g++.dg/ext/undef-bool-1.C @@ -1,5 +1,5 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ -/* { dg-options "-O2 -DNO_WARN_X86_INTRINSICS" } */ +/* { dg-options "-O2 -DNO_WARN_X86_INTRINSICS -mvsx" } */ /* 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 3cab936f89f..8417813d15b 100644 --- a/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c +++ b/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -std=c11 -DNO_WARN_X86_INTRINSICS" } */ +/* { dg-options "-O2 -std=c11 -DNO_WARN_X86_INTRINSICS -mvsx" } */ /* Test to ensure that "bool" gets undef'd in xmmintrin.h when we require strict ANSI. Subsequent use of bool needs stdbool.h. -- 2.30.2