https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91927
--- Comment #7 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
(In reply to Kamlesh Kumar from comment #6)
> This Fixes it.
>
> diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
> index 2e73f3515bb..155f4c45500 100644
> --- a/gcc/config/aarch64/aarch64.c
> +++ b/gcc/config/aarch64/aarch64.c
> @@ -16161,15 +16161,9 @@ aarch64_builtin_support_vector_misalignment
> (machine_mode mode,
> const_tree type, int
> misalignment,
> bool is_packed)
> {
> - if (TARGET_SIMD && STRICT_ALIGNMENT)
> + if (STRICT_ALIGNMENT)
> {
> - /* Return if movmisalign pattern is not supported for this mode. */
> - if (optab_handler (movmisalign_optab, mode) == CODE_FOR_nothing)
> - return false;
> -
> - /* Misalignment factor is unknown at compile time. */
> - if (misalignment == -1)
> - return false;
> + return false;
> }
> return default_builtin_support_vector_misalignment (mode, type,
> misalignment,
> is_packed);
No, that bodges around it. It's not a fix.