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