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:
parent
36b341276f
commit
a637fd40b3
|
@ -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>
|
2019-06-05 Martin Sebor <msebor@redhat.com>
|
||||||
|
|
||||||
* gcc.dg/weak/weak-19.c: New test.
|
* gcc.dg/weak/weak-19.c: New test.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* { dg-do compile } */
|
/* { 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
|
/* Test to ensure that "bool" is not #define'd in altivec.h for C++ when
|
||||||
we require strict ANSI. We should compile without errors. */
|
we require strict ANSI. We should compile without errors. */
|
||||||
|
|
Loading…
Reference in New Issue