https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124746
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- -O2 -fno-tree-fre -fno-tree-loop-im -fno-tree-pre -fno-predictive-commoning also fails, .optimized is then quite simple and obviously wrong. The cunrolli pass is that loses the inner loops, disabling it fixes it. So possibly niter analysis (ranger?).
