Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Clang emits memcpy for std::swap, which can introduce undefined behavior. Parent comment
You are perhaps thinking of this: https://sourceware.org/bugzilla/show_bug.cgi?id=12518
I'm not sure if that change broke glibc memcpy for identical arguments or just ones that were different but overlapped.
This quote suggests that Drepper wouldn't have had any problem breaking things that passed identical arguments to memcpy:
>The existence of code written by people who should never have been allowed to touch a keyboard cannot be allowed to prevent a correct implementation.
There are no comments on this comment yet.
You are perhaps thinking of this: https://sourceware.org/bugzilla/show_bug.cgi?id=12518
I'm not sure if that change broke glibc memcpy for identical arguments or just ones that were different but overlapped.
This quote suggests that Drepper wouldn't have had any problem breaking things that passed identical arguments to memcpy:
>The existence of code written by people who should never have been allowed to touch a keyboard cannot be allowed to prevent a correct implementation.