This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: tail calls in const functions?
- To: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Subject: Re: tail calls in const functions?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 23 Mar 2000 15:39:32 -0700
- cc: Jakub Jelinek <jakub at redhat dot com>, egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
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