Message ID | 59410E2A.1020808@foss.arm.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index e503891..b8d59c6 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -12124,6 +12124,11 @@ neon_make_constant (rtx vals) if (n_const == n_elts) const_vec = gen_rtx_CONST_VECTOR (mode, XVEC (vals, 0)); } + else if (vals == const0_rtx) + /* Something invalid, perhaps from expanding an intrinsic + which requires a constant argument, where a variable argument + was passed. */ + return const0_rtx; else gcc_unreachable ();