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(_Decimal128 * p)9int doTestBCDSignificance (_Decimal128 *p) 10 { 11 _Decimal128 source = *p; 12 13 return __builtin_dfp_dtstsfi_ov_td (65, source); /* { dg-error "argument 1 must be a 6-bit unsigned literal" } */ 14 } 15 16 17