Concept of "dead code stripping" in compiler optimization options
When i gone through my compiler(starcore,scc) optimization options, i can see one "dead code strippin开发者_Python百科g".
What actually does when this option is enabled?
/Kanu
The resulting executable will not include any "dead" or unreachable code, because theres no point as it can never be executed.
Dead-code stripping is the process of removing unreferenced code from the executable file. If the code is unreferenced, it must not be used and therefore is not needed in the executable file. Removing dead code reduces the size of your executable and can help reduce paging.
精彩评论