/* { dg-do run { target powerpc*-*-* } } */
-/* { dg-options "-faltivec -O2" } */
+/* { dg-options "-maltivec -O2" } */
+
+#include <altivec.h>
+#include "altivec_check.h"
int printf(const char * , ...);
extern void abort();
int main(int argc, char **argv)
{
char toto[32] __attribute__((aligned(16)));
+
+ altivec_check (); /* Exit if hardware doesn't support AltiVec. */
foo(toto, toto, 0, 0);
return 0;
}