[Bug middle-end/56888] memcpy implementation optimized as a call to memcpy
fd935653 at opayq dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 3 07:09:00 GMT 2014
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.
More information about the Gcc-bugs
mailing list