https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71333
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That typically happens if the code invokes undefined behavior in the loop. Try e.g. to compile it with -fsanitize=undefined and/or -fsanitize=address or -fno-aggressive-loop-optimizations.