3 ms·
> Turns out Clang injects memcpy into your code even if you don't call it. so does gcc, it's pretty much a requirement of the C standard. https://gcc.godbolt.
by jcelerier 6y ago
> Turns out Clang injects memcpy into your code even if you don't call it.
so does gcc, it's pretty much a requirement of the C standard. https://gcc.godbolt.org/z/aaE5hn https://gcc.godbolt.org/z/aaE5hn
- matheusmoreira 6y ago> it's pretty much a requirement of the C standard Why would the C standard mandate the presence of standard library functions in a freestanding environment? I always assumed compilers emitting calls to mem* functions were doing it because it was the easy solution just like linking to libgcc.
- deleted 6y ago[deleted]