1 /* { dg-skip-if "conflicting -march" { *-*-* } { "-march=*" } { "-march=*+nofp" } } */
2 /* If there are multiple -march's, the latest wins; skip the test either way.
3 -march overrides -mcpu, so there is no possibility of conflict. */
5 /* { dg-options "-march=armv8-a+nofp" } */
9 typedef int int32x2_t
__attribute__ ((__vector_size__ ((8))));
11 int test (int i
, ...);
14 main (int argc
, char **argv
)
16 int32x2_t a
= (int32x2_t
) {0, 1};
17 int32x2_t b
= (int32x2_t
) {2, 3};
18 return test (2, a
, b
); /* { dg-error "'\\+nofp' feature modifier is incompatible with vector argument" } */