This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: dead code removal


>Do the GNU tools provide dead-code stripping?

Via gcc -ffunction-sections and ld --gc-sections if nothing else.  I'm not 
sure if the compiler is able to delete unused static functions altogether or 
if it can just warn about them.

p.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]