Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/dfp/dtstsfi-57.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
3 /* { dg-require-effective-target powerpc_vsx } */
4
5 #include <altivec.h>
6
7 int doTestBCDSignificance (_Decimal128 *p)
8 {
9 _Decimal128 source = *p;
10
11 return __builtin_dfp_dtstsfi_eq_td (65, source); /* { dg-error "argument 1 must be a literal between 0 and 63, inclusive" } */
12 }
13
14