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