https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888
Evan Langlois <fd935653 at opayq dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fd935653 at opayq dot com --- Comment #34 from Evan Langlois <fd935653 at opayq dot com> --- Grub-2.00 (grub-mkimage utility) will crash with -O3 because of this bug, using gcc 4.8.2. GDB shows it going into an infinite loop calling memset() until it segfaults. I added the -fno-tree-loop-distribute-patterns and it created code that doesn't barf on itself. This is definately a bug and a pretty serious one.