From: Segher Boessenkool Date: Wed, 5 Jun 2019 16:21:07 +0000 (+0200) Subject: rs6000: Fix new testcase X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a637fd40b338afa328601b126bdb6356a1f14e0c;p=gcc.git rs6000: Fix new testcase At least with -m32 you need -maltivec if you #include . gcc/testsuite/ * g++.target/powerpc/undef-bool-3.C: Add -maltivec to dg-options. From-SVN: r271966 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 457970ede45..bc521344987 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-06-05 Segher Boessenkool + + * g++.target/powerpc/undef-bool-3.C: Add -maltivec to dg-options. + 2019-06-05 Martin Sebor * gcc.dg/weak/weak-19.c: New test. diff --git a/gcc/testsuite/g++.target/powerpc/undef-bool-3.C b/gcc/testsuite/g++.target/powerpc/undef-bool-3.C index 27f3da58217..b4e18bda2cb 100644 --- a/gcc/testsuite/g++.target/powerpc/undef-bool-3.C +++ b/gcc/testsuite/g++.target/powerpc/undef-bool-3.C @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O2 -std=c++11" } */ +/* { dg-options "-O2 -std=c++11 -maltivec" } */ /* Test to ensure that "bool" is not #define'd in altivec.h for C++ when we require strict ANSI. We should compile without errors. */