Content deleted Content added
added Category:Software anomalies using HotCat |
No edit summary |
||
Line 1:
{{Merge from|Dead code elimination|date=November 2010}}
In [[computer programming]], '''dead code''' is
While the result of a dead computation may never be used, the dead code may raise [[exceptions]] or affect some global state, thus removal of such code may change the output of the program and introduce unintended [[software bug|bugs]]. Compiler optimizations are typically conservative in their approach to dead code removal if there is any ambiguity as to whether removal of the dead code will affect the program output.
|