[Bug middle-end/56888] memcpy implementation optimized as a call to memcpy

xanclic at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 17 20:59:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888

--- Comment #15 from Max Reitz <xanclic at gmail dot com> ---
(In reply to Andreas Schwab from comment #14)
> The relevant option is -ffreestanding, not -nostdlib.

If you're referring to me, I'll be glad to cite my OP for you :D

> Compiling the attached trivial memcpy implementation with -O3 -ffreestanding
> -fno-builtin -nodefaultlibs -nostdlib yields a memcpy which calls itself.



More information about the Gcc-bugs mailing list