* gcc.target/powerpc/builtins-3.c: Add -maltivec and -mvsx options.
authorDavid Edelsohn <dje.gcc@gmail.com>
Wed, 23 Nov 2016 21:06:28 +0000 (21:06 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Wed, 23 Nov 2016 21:06:28 +0000 (16:06 -0500)
From-SVN: r242800

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-3.c

index b8cb594..6954431 100644 (file)
@@ -1,3 +1,7 @@
+2016-11-23  David Edelsohn  <dje.gcc@gmail.com>
+
+       * gcc.target/powerpc/builtins-3.c: Add -maltivec and -mvsx options.
+
 2016-11-23  Jakub Jelinek  <jakub@redhat.com>
 
        PR sanitizer/69278
index 8d4b63d..1a09654 100644 (file)
@@ -1,7 +1,8 @@
-#include <altivec.h>
-
 /* { dg-do compile } */
 /* { dg-require-effective-target powerpc_altivec_ok } */
+/* { dg-options "-maltivec -mvsx" } */
+
+#include <altivec.h>
 
 vector bool char
 test_eq_char (vector bool char x, vector bool char y)