testsuite: fix g++.dg/tree-ssa/pr58483.C
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / bfp / scalar-test-data-class-9.c
blob2dfa662b8eff083a49ba4085fc9ddf70c6539bdd
1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
3 /* { dg-require-effective-target lp64 } */
4 /* { dg-require-effective-target powerpc_vsx } */
6 #include <altivec.h>
7 #include <stdbool.h>
9 bool
10 test_data_class (__ieee128 *p)
12 __ieee128 source = *p;
14 /* IEEE 128-bit floating point operations are only supported
15 on 64-bit targets. */
16 return scalar_test_data_class (source, 256); /* { dg-error "argument 2 must be a literal between 0 and 127, inclusive" } */