* 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 b8cb594840a0ac5c7e555a554ee068f04e1cab2e..6954431779ba3322d64435382f20697aaf5a3e2a 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 8d4b63d806da881cc669186e6f3a651bcde5aa60..1a096541c8e2ec6e7100348e18759d83c16d5aa0 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)