[Bug rtl-optimization/3329] optimization large memory copies uses kernel memcpy function without user's knowledge.

hanzac at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jul 15 08:46:00 GMT 2005


------- Additional Comments From hanzac at gmail dot com  2005-07-15 08:26 -------
> Anyway, like (nearly) all optimizations in gcc, it can be turned off by
turning off optimization for the affected file.

It can't be turned off when using MinGW GCC. I hope there will be a
option to enable or disable this feature that auto-emits memcpy.
Because when developing a OS kernel, external memcpy to link is not
available, of course.

-- 


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



More information about the Gcc-bugs mailing list