|
|
|
|
|
by jcr1488
2605 days ago
|
|
You mean it can remove a memset() that doesn't cause the observable behaviour to change? For the sake of argument, can you show me some example code where it would be conforming to remove a memset() call? Preferably a realistic example and not a Google'd copypasta. Because it's all too easy to just regurgitate things you heard and think you understood, but no so easy to demonstrate it yourself. |
|
Dead Store Elimination (Still) Considered Harmful
https://cseweb.ucsd.edu/~klevchen/yjoll-usesec17.pdf