if (aarch64_vfp_is_call_or_return_candidate (mode, type, &ag_mode, &count,
NULL, false))
{
- /* TYPE passed in fp/simd registers. */
- if (!TARGET_FLOAT)
- aarch64_err_no_fpadvsimd (ag_mode);
-
gcc_assert (!sve_p);
if (!aarch64_composite_type_p (type, mode))
{
/* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" "" {target "aarch64*-*-*"} .+1 } */
int32x2_t test (int32x2_t a, int32x2_t b)
-{ /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" } */
- return a + b; /* { dg-error "'-mgeneral-regs-only' is incompatible with the use of vector types" } */
+{
+ return a + b;
}