https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113801
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |missed-optimization Last reconfirmed| |2024-02-07 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- I think there's a duplicate bug having the same loop-carried "zero" where final value replacement gets the overall update to 'a', just a bit more complicated here.