This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: dead code removal
- To: reekes at kerbango dot com
- Subject: Re: dead code removal
- From: Philip Blundell <Philip dot Blundell at pobox dot com>
- Date: Mon, 29 Nov 1999 22:13:04 +0000
- cc: gcc at gcc dot gnu dot org
- References: <3842F5E9.F80A5F0B@kerbango.com>
>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.