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

--- Comment #6 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #5)
> Created attachment 64754 [details]
> A patch to expand memcpy as memmove
> 
> I am testing this. Hongtao, can you run SPEC CPU with it?  Thanks.

It reduces 727.cppcheck_r O2 codesize by ~9%, fixed most of the codesize
regression(where the PR comes from) without performance impact, I'm going to
test it more broadly, and will get back to you later.

Reply via email to