[Bug tree-optimization/84794] memcpy/memmove between a struct and its first member not eliminated

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 9 21:40:00 GMT 2018


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|memcpy between a struct and |memcpy/memmove between a
                   |its first member not        |struct and its first member
                   |eliminated                  |not eliminated

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Arguably a more interesting test case is one involving memmove.  It also isn't
eliminated.


More information about the Gcc-bugs mailing list