https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667
--- Comment #59 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Memcpy must never write beyond the end of the specified buffer, even if reading it is safe. That wouldn't be thread safe.
rearnsha at gcc dot gnu.org via Gcc-bugs Thu, 04 Jan 2024 06:28:26 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667
--- Comment #59 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- Memcpy must never write beyond the end of the specified buffer, even if reading it is safe. That wouldn't be thread safe.