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]
Other format: [Raw text]

Re: investigation of tail calls on mainline


On 12-Dec-2002, Richard Henderson <rth@redhat.com> wrote:
> On Thu, Dec 12, 2002 at 10:23:53AM -0500, Brad Lucier wrote:
> > 	call	%g2, 0
> > 	mov	1, %g3
> > 	ret
> > 	restore %g0, %o0, %o0
> 
> At the moment that this is only going to work on x86, and
> only on basic-improvements-branch.

And only for non-PIC code
(i.e. it won't work if you compile with `-fpic' or `-fPIC').

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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