tail calls in const functions?

Jeffrey A Law law@cygnus.com
Thu Mar 23 14:47:00 GMT 2000


  In message < 20000323232003.B5316@atrey.karlin.mff.cuni.cz >you write:
  > OK.
  > I was bringing this issue mainly because I was unsure whther we want to rea
  > d it
  > again or not.  In the example I gave the caller was storing value "1" twice
  >  to
  > the same position once for first function, later for the second.  I was uns
  > ure
  > whther we would not want to implement later pass that will eliminate the se
  > cond
  > sture.
  > 
  > With const fuctions modifying their arguemnt area we will have to hack
  > this future pass for such special case.
We must always consider the argument area clobbered by a call, even to a
const function.

jeff



More information about the Gcc mailing list