gcc - How to know what code has been optimized out? -
is there way information during or after compilation parts of code have been optimized out, without looking @ assembly or executing code.
it'd nice know if big code chunk gets optimized away.
gcc -s
will output assembly code have been passed assembler (and been linked executable). if squint right way (and patient), can work backwards confirm whether given bit of code has been included in executable, or optimized away.
obviously not you'd unless have suspicion going on, given time , effort required...
Comments
Post a Comment