https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30201
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |14.2.0 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> --- GCC does unroll the loop nest in the testcase. I checked GCC 14 with -O2 -fopt-info: ... t.C:28:27: optimized: loop with 2 iterations completely unrolled (header execution count 268435458) t.C:27:23: optimized: loop with 2 iterations completely unrolled (header execution count 89478486) ... so the reported issue is fixed. We're also good enough to elide the whole benchmark (but that's besides the point).