Commit e66e5d5f by Bill Schmidt Committed by William Schmidt

undef-bool-2.c: Add -mvsx.

[gcc/testsuite]

2018-04-17  Bill Schmidt  <wschmidt@linux.ibm.com>

	* gcc.target/powerpc/undef-bool-2.c: Add -mvsx.
	* gcc.target/g++.dg/ext/undef-bool-1.C: Likewise.

From-SVN: r259456
parent e508e1dc
2018-04-17 Bill Schmidt <wschmidt@linux.ibm.com>
* gcc.target/powerpc/undef-bool-2.c: Add -mvsx.
* gcc.target/g++.dg/ext/undef-bool-1.C: Likewise.
2018-04-17 Jakub Jelinek <jakub@redhat.com> 2018-04-17 Jakub Jelinek <jakub@redhat.com>
PR testsuite/85326 PR testsuite/85326
......
/* { dg-do compile { target { powerpc*-*-* } } } */ /* { 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 /* Test to ensure that "bool" gets undef'd in xmmintrin.h when
we require strict ANSI. */ we require strict ANSI. */
......
/* { dg-do compile } */ /* { 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 /* Test to ensure that "bool" gets undef'd in xmmintrin.h when
we require strict ANSI. Subsequent use of bool needs stdbool.h. we require strict ANSI. Subsequent use of bool needs stdbool.h.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment