Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!NSFNET-RELAY.AC.UK!richard%aiai.edinburgh.ac.uk From: richard%aiai.edinburgh.ac.uk@NSFNET-RELAY.AC.UK (Richard Tobin) Newsgroups: gnu.gcc Subject: Tail recursion Message-ID: <8552.8906271342@subnode.aiai.ed.ac.uk> Date: 27 Jun 89 13:42:16 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 10 The version of gcc we have (1.34) does self tail-recursion in simple cases. Is anyone extending this? What problems are there with making all tail calls into jumps (I know about pointers to local variables; are there others?)? -- Richard Richard Tobin, JANET: R.Tobin@uk.ac.ed AI Applications Institute, ARPA: R.Tobin%uk.ac.ed@nsfnet-relay.ac.uk Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin