https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102860
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 52229 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52229&action=edit gcc12-pr102860-2.patch And here is IMHO a better one that for VECTOR_TYPE just returns unknown_optab so that the callers don't expect vectorized %[fl] etc. will work. For both patches, tree-vect-patterns.cc work deferred for stage1, will create a PR for it once this PR is fixed.