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

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #1 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
It looks like GCC does not use the fact that memcpy returns dest.  If writing
"return memcpy(dst, src, n);" instead it's optimized correctly.

Reply via email to