Related articles |
---|
[9 earlier articles] |
Re: backend question felixundduni@freenet.de (felix) (2002-11-24) |
Re: backend question fjh@cs.mu.OZ.AU (Fergus Henderson) (2002-11-24) |
Re: backend question thp@cs.ucr.edu (2002-11-24) |
Re: backend question whopkins@alpha2.csd.uwm.edu (Mark) (2002-11-24) |
Re: backend question nmm1@cus.cam.ac.uk (Nick Maclaren) (2002-11-24) |
Re: backend question joachim_d@gmx.de (Joachim Durchholz) (2002-11-24) |
Re: backend question nmm1@cus.cam.ac.uk (Nick Maclaren) (2002-11-26) |
Re: backend question fjh@students.cs.mu.OZ.AU (Fergus Henderson) (2002-12-01) |
Re: backend question fjh@students.cs.mu.OZ.AU (Fergus Henderson) (2002-12-01) |
Re: backend question nmm1@cus.cam.ac.uk (Nick Maclaren) (2002-12-03) |
Re: backend question thp@cs.ucr.edu (2002-12-07) |
Backend Question mansuk@gmail.com (Suman Karumuri) (2005-10-07) |
Re: Backend Question gneuner2@comcast.net (George Neuner) (2005-10-08) |
From: | "Nick Maclaren" <nmm1@cus.cam.ac.uk> |
Newsgroups: | comp.compilers |
Date: | 26 Nov 2002 22:07:36 -0500 |
Organization: | University of Cambridge, England |
References: | 02-11-063 02-11-078 02-11-099 02-11-104 02-11-129 02-11-151 |
Keywords: | optimize, C |
Posted-Date: | 26 Nov 2002 22:07:36 EST |
"Joachim Durchholz" <joachim_d@gmx.de> writes:
|> felix wrote:
|> > On the other hand several people seem to work towards providing TCO
|> > for GCC (I just read one or two papers, though - I don't know what the
|> > current state of affairs is).
|>
|> Last time I heard anything, its state was "it works but the
|> opportunities for actually applying the optimization are quite rare". It
|> was a long list of requirements that the C function should fulfill.
|> The one keyword that stuck with me was setjmp/longjmp, but that was just
|> one entry in a far-too-long-for-my-taste list of potential TCO inhibitors.
Unless I have missed something fundamental, that restriction is only
to the use of setjmp in a function being optimised to remove its
return. Not a big deal. There is a much nastier one to do with never
passing the address of a local variable to an external function.
Regards,
Nick Maclaren,
University of Cambridge Computing Service,
New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
Email: nmm1@cam.ac.uk
Tel.: +44 1223 334761 Fax: +44 1223 334679
Return to the
comp.compilers page.
Search the
comp.compilers archives again.