rs6000: Fix new testcase

At least with -m32 you need -maltivec if you #include <altivec.h>.


gcc/testsuite/
	* g++.target/powerpc/undef-bool-3.C: Add -maltivec to dg-options.

From-SVN: r271966
This commit is contained in:
Segher Boessenkool 2019-06-05 18:21:07 +02:00 committed by Segher Boessenkool
parent 36b341276f
commit a637fd40b3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-06-05 Segher Boessenkool <segher@kernel.crashing.org>
* g++.target/powerpc/undef-bool-3.C: Add -maltivec to dg-options.
2019-06-05 Martin Sebor <msebor@redhat.com>
* gcc.dg/weak/weak-19.c: New test.

View File

@ -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. */