[PATCH] half pic removal

Zack Weinberg zack@codesourcery.com
Mon Jun 10 14:48:00 GMT 2002


On Mon, Jun 10, 2002 at 10:27:38PM +0100, Neil Booth wrote:
> Zack Weinberg wrote:-
> 
> > The definitions probably went away when I purged obsoleted targets.  I
> > meant to do a sweep to find macros and stuff that were defined nowhere
> > and get rid of them, but never managed to figure out how to automate
> > the scan...
> 
> I think Joseph has a script (Perl) that finds macros that aren't
> referenced.  That's not perfect, but better than nothing.

I asked him - it does the complement: it finds macros that are defined
but not used.  I need used but not defined, which is harder.

zw



More information about the Gcc-patches mailing list