This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

gcc dead code elimination

Hello,

I see that the make files that have been included have provision to remove dead code from the projects to reduce code food print. This is accomplished using the following commands

-ffunction-sections -fdata-sections Wl,--gc-sections

However, even with these commands in the make file I am still seeing dead code in my project. Has anyone else noticed this?

Lucas