[Bug c/59219] ____builtin___memcpy_chk and -fno-builtin-memcpy

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 22 10:29:00 GMT 2013


--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
But if you are using __builtin__xxx_chk you are using a builtin and thus
are required to follow the builtins semantic.  You can use __memcpy_chk
instead (but you won't get the optimization to memcpy for unknown
object sizes then).

More information about the Gcc-bugs mailing list