https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105618
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Summary|Missed loop body |[11/12/13 Regression] |simplification by -O3 |Missed loop body |(trunk v.s. 10.3) |simplification by -O3 | |(trunk v.s. 10.3) Target Milestone|--- |11.4 Last reconfirmed| |2022-05-17 Keywords| |missed-optimization, | |needs-bisection Known to fail| |11.3.1, 12.1.1 Ever confirmed|0 |1 Known to work| |10.3.1 Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. GCC 10 manages to sink the load from e out of the loop while GCC 12 fails to do that.