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