[gnu.gcc.bug] One more optimizer option?

murf@CS.UTEXAS.EDU (Steve Murphy) (10/19/89)

The idea occurred to me: Would it not be good if static functions that
are unreference within a file be deleted by the optimizer?  I know the
compiler knows they are unreferenced; it issues messages about them if
-Wunused is specified. If this   makes people nervous, how about   the
option -fdelUnrefdStatFuncs or some such?

I've got autogenerated code where this would drop nearly a quarter meg
from the size of the binary! I know, it's  stupid, I think so too, but
it's machine generated, and of course, I don't have any access  to the
source for the generator. They are  generated "just in case",  but not
used in most files.

murf