This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bct_p *is* used in loop.c:strength_reduction




  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]