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-options "-mpower9-minmax -mno-direct-move" } */
5 /* { dg-excess-errors "expect error due to conflicting target options" } */
6 /* Since the error message is not associated with a particular line
7 number, we cannot use the dg-error directive and cannot specify a
8 regexp to describe the expected error message. The expected error
9 message is: "-mpower9-minmax requires -mdirect-move" */
12 void b (__attribute__ ((__vector_size__ (16))) char c
)
14 a
= ((__attribute__ ((__vector_size__ (2 * sizeof (long)))) long) c
)[0];