https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94834
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |missed-optimization Last reconfirmed| |2020-04-29 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. We have a pass that would grok the unrolled form but unrolling happens too late (if at all) for it to trigger. Not sure if we should try to pattern-match this (or other reductions) in loop distribution.