This is the mail archive of the gcc@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: tail calls in const functions?



  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


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