https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98544
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org Status|UNCONFIRMED |NEW Last reconfirmed| |2021-01-06 Ever confirmed|0 |1 --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Confirmed, one can reduce that to a single loop vectorization: $ g++ bug2.cc -std=c++17 -O1 -mavx -ftree-loop-vectorize -fdbg-cnt=vect_loop:10-10 && ./a.out but the loop is quite huge.