[Bug c/68337] [MPX] memcpy() for arrays with function pointers results in huge resource usage and binaries

ienkovich at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 18 15:31:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68337

--- Comment #2 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
I found another related problem.  If we copy a couple of pointers using memcpy,
it may be inlined as a copy of a single wide integer.  Thus we also may loose
bounds due to memcpy inlining.


More information about the Gcc-bugs mailing list