diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2019-06-05 18:21:07 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2019-06-05 18:21:07 +0200 |
commit | a637fd40b338afa328601b126bdb6356a1f14e0c (patch) | |
tree | d5b43af49dd42c49ffa9d9116f321707e2239da0 /gcc | |
parent | 36b341276f85fc5af74d3019496aea379553f37d (diff) | |
download | gcc-a637fd40b338afa328601b126bdb6356a1f14e0c.zip gcc-a637fd40b338afa328601b126bdb6356a1f14e0c.tar.gz gcc-a637fd40b338afa328601b126bdb6356a1f14e0c.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/g++.target/powerpc/undef-bool-3.C | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 457970e..bc52134 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/g++.target/powerpc/undef-bool-3.C b/gcc/testsuite/g++.target/powerpc/undef-bool-3.C index 27f3da5..b4e18bd 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. */ |