https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114966
Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mkretz at gcc dot gnu.org --- Comment #2 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> --- GCC trunk recognizes a list-init of the vector builtin as a VEC_PERM_EXPR. That's what's behind the generator ctor of simd. So something goes wrong there. I had a quick look through the tree passes on compiler-explorer, and on forwprop3 GCC 13 matches the VEC_PERM_EXPR, while trunk doesn't (https://godbolt.org/z/9Pef3c9d9)