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

bugdal at aerifal dot cx gcc-bugzilla@gcc.gnu.org
Tue Apr 29 14:47:00 GMT 2014


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

--- Comment #28 from Rich Felker <bugdal at aerifal dot cx> ---
On Tue, Apr 29, 2014 at 02:16:38PM +0000, rguenth at gcc dot gnu.org wrote:
> Honza, is there a more "fancy" way of doing this?

The only correct way to fix this is to honor -ffreestanding and never
generate references to hosted-C functions (which include memset) when
-ffreestanding is used.



More information about the Gcc-bugs mailing list