https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99927
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2021-04-06 CC| |amacleod at redhat dot com Priority|P3 |P1 Target Milestone|--- |11.0 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- -fdisable-tree-cunroll fixes it but not disabling the lim pass after it but disabling lim2 which then no longer makes us unroll the loop. Disabling DOM3 _and_ VRP2 also fixes the issue, it looks like some bogus VRP gets triggered.