This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: bct_p *is* used in loop.c:strength_reduction
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: bct_p *is* used in loop.c:strength_reduction
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 15 Oct 1998 11:06:30 -0600
- cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, egcs at cygnus dot com, egcs-patches at cygnus dot com
- Reply-To: law at cygnus dot com
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?
jeff