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