bct_p *is* used in loop.c:strength_reduction
Jeffrey A Law
Thu Oct 15 10:08:00 GMT 1998
In message < 9810151702.AA40664@marc.watson.ibm.com >you write:
> I have removed the ATTRIBUTE_UNUSED designation from the bct_p
> parameter in loop.c:strength_reduce(). That parameter *is* used depending
> on ifdef's.
An ATTRIBUTE_UNUSED shouldn't cause problems if the parameter is actually
used. At least that's been my understanding. I've always been under the
impression that it meant the varable/parameter *might* be unused, not that
is absolutely is unused and you can optimize based on that information.
Is that not the case? Can someone verify?
More information about the Gcc-patches