https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087
David Binderman <dcb314 at hotmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcb314 at hotmail dot com --- Comment #8 from David Binderman <dcb314 at hotmail dot com> --- I see this problem also, with this reduced C code: char **Gif_ClipImage_gfi_0; int Gif_ClipImage_y, Gif_ClipImage_shift; void Gif_ClipImage(void) { for (; Gif_ClipImage_y >= Gif_ClipImage_shift; Gif_ClipImage_y++) Gif_ClipImage_gfi_0[Gif_ClipImage_shift] = Gif_ClipImage_gfi_0[Gif_ClipImage_y]; } Flag -O3 -march=bdver2 required.