Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/bfp/scalar-test-data-class-4.c

raw
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
3 /* { dg-require-effective-target powerpc_vsx } */
4
5 #include <altivec.h>
6 #include <stdbool.h>
7
8 bool
9 test_data_class (double *p, const int condition_flag)
10 {
11 double source = *p;
12
13 return scalar_test_data_class (source, condition_flag); /* { dg-error "argument 2 must be a literal between 0 and 127, inclusive" } */
14 }
15