https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117103
--- Comment #3 from Davide Italiano <dccitaliano at gmail dot com> --- > Note if you are doing code size comparison, then looking at the # of > instructions for a target like x86 is not the way to go. You need to actually > look at the assembled instruction output. Oops, my bad. I was using `size` in my calculations and look at the size of .text. I'll refine the search. Would you be interested in having a follow-up for the loop being removed entirely?