https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82447
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Indeed. But when the body is: sum += a[size - 1 - i]; while base 128U with step -1U is considered, it isn't found as the cheapest for some reason either.