https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104675
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 52512 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52512&action=edit gcc12-pr104675-2.patch Untested fix for the issue Marc mentioned above. In theory we could handle also integral vectors if uniform_vector_cst_p, but let's defer that to GCC 13.