1 /* { dg-do compile { target { powerpc*-*-* } } } */ 2 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */ 3 /* { dg-require-effective-target powerpc_p9vector_ok } */ 4 /* { dg-skip-if "" { powerpc*-*-aix* } } */ 5 /* { dg-options "-mcpu=power9" } */ 6 7 #include <altivec.h> 8 doTestBCDSignificance(_Decimal64 * p,unsigned int significance)9int doTestBCDSignificance (_Decimal64 *p, unsigned int significance) 10 { 11 _Decimal64 source = *p; 12 13 return __builtin_dfp_dtstsfi_ov_dd (significance, source); /* { dg-error "argument 1 must be a 6-bit unsigned literal" } */ 14 } 15 16