[tree-ssa] live analysis on local static functions
law@redhat.com
law@redhat.com
Tue Oct 14 23:00:00 GMT 2003
In message <20031014142034.C18760@synopsys.com>, Joe Buck writes:
>On Tue, Oct 14, 2003 at 11:03:41AM -0600, law@redhat.com wrote:
>> A static variable which is never used really should go away, even if it
>> has an initializer since it contributes nothing to observable behavior of
>> the program.
>
>Unless the initializer has a side effect, of course. (e.g. C++ object
>that allocates/frees a resource in the ctor/dtor).
Of course :-) We already handle that just fine :-)
jeff
More information about the Gcc
mailing list