Re:A bug story: data alignment on x86
by Thiez on Monday November 07, 2016 @01:57PM
(#12893780)
Implementing `memcpy` can be a challenge of its own. Gcc has a tendency to replace memcpy implementations with a call to... memcpy. Which is quite smart, just not in that particular context...
[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888