[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / bfp / vec-test-data-class-6.c
blob2c7e9deb7a2a052450027f883bdfce30a40eeeeb
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target powerpc_p9vector_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9" } */
5 #include <altivec.h>
7 __vector bool int
8 get_data_class_flags (__vector float *p, int condition_flag)
10 __vector float source = *p;
12 return vec_test_data_class (source, condition_flag); /* { dg-error "argument 2 must be a 7-bit unsigned literal" } */