1 /* { dg-do compile { target { powerpc*-*-* } } } */ 2 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */ 3 /* { dg-require-effective-target powerpc_p9vector_ok } */ 4 /* { dg-options "-mcpu=power9" } */ 5 6 #include <altivec.h> 7 #include <stdbool.h> 8 9 bool test_data_class(float * p,const int condition_flag)10test_data_class (float *p, const int condition_flag) 11 { 12 float source = *p; 13 14 return scalar_test_data_class (source, condition_flag); /* { dg-error "argument 2 must be a 7-bit unsigned literal" } */ 15 } 16 17