| /* { dg-do compile { target { powerpc*-*-* } } } */ |
| /* Require 64-bit target to select expected error message below. 32-bit |
| target produces different error message. */ |
| /* { dg-require-effective-target lp64 } */ |
| /* { dg-require-effective-target powerpc_p9vector_ok } */ |
| /* { dg-options "-mdejagnu-cpu=power9" } */ |
| |
| #include <altivec.h> |
| #include <stdbool.h> |
| |
| bool |
| test_data_class (__ieee128 *p, const int condition_flag) |
| { |
| __ieee128 source = *p; |
| |
| return scalar_test_data_class (source, condition_flag); /* { dg-error "argument 2 must be a 7-bit unsigned literal" } */ |
| } |
| |