[sldev] Re: dead code

Dzonatas dzonatas at dzonux.net
Wed May 23 14:11:02 PDT 2007


Andrew Meadows wrote:
> Ben Byer -
>
> Your list undoubtedly contains lots of dead code however I
> find some of it suspiciously alive.

Compiler optimizations may have moved code from inside one function and 
stuck it in-line in another. That would give the appearance of dead 
code. The symbols are generally left inside the object file, but they 
can be removed if size optimization is desired. I see the default is to 
compile for speed over size.

-- 


More information about the SLDev mailing list