https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129280
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |14.5
Ever confirmed|0 |1
Last reconfirmed| |2026-12-04
Status|UNCONFIRMED |NEW
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on trunk at -O3 (returns 1 instead of 0).
gimple-loop-interchange.cc's undo_simple_reduction uses an IV comparison to
determine reduction initialization, which restarts the reduction whenever the
wrapping IV returns to its initial value. Passes with -O2 and -O3
-fno-loop-interchange.