|
|
|
|
|
by MindSpunk
199 days ago
|
|
Sadness. Tons of functions from the standard library are special cases by the compiler. The compiler can elide malloc calls if it can prove it doesn't need them, even though strictly speaking malloc has side effects by changing the heap state. Just not useful side effects. memcpy will get transformed and inlined for small copies all the time. |
|