https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67213 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- Btw, you can look at -fdump-tree-cunroll-details dump for why GCC thinks the loop will get smaller in all cases.