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

Sam James <sjames at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=32667

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
> However, formally speaking this triggers undefined behaviour as the memcpy's 
> source and destination areas overlap. (Although the C standard does 
> distinguish between inexact and exact overlap in assignments, there's no such 
> distinction for library routines like memcpy.)

See PR32667.

Reply via email to