undef-bool-2.c: Add -mvsx.
authorBill Schmidt <wschmidt@linux.ibm.com>
Wed, 18 Apr 2018 01:56:59 +0000 (01:56 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 18 Apr 2018 01:56:59 +0000 (01:56 +0000)
[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

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/undef-bool-1.C
gcc/testsuite/gcc.target/powerpc/undef-bool-2.c

index df909f7..6dba141 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        PR testsuite/85326
index 11a152d..096ec81 100644 (file)
@@ -1,5 +1,5 @@
 /* { 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
    we require strict ANSI.  */
index 3cab936..8417813 100644 (file)
@@ -1,5 +1,5 @@
 /* { 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
    we require strict ANSI.  Subsequent use of bool needs stdbool.h.