https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105558
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-05-11 Status|UNCONFIRMED |NEW Keywords| |needs-bisection Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Can I ask you to see whether -O3 -fno-tree-vectorize avoids the issue and whether -O3 -fno-vect-cost-model makes the issue appear in more versions? It could be that this is a resolved issue that awaits backporting of a fix (or where backporting is too difficult). I can confirm the -O3 -march=core-avx2 failure with GCC 10 and success with GCC 11.