From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,14f7200925acb579 X-Google-Attributes: gid103376,public From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner) Subject: Re: No Go To's Forever! Date: 2000/04/18 Message-ID: <8dgbg1$8a21@news.cis.okstate.edu>#1/1 X-Deja-AN: 612501680 References: <8bdbof$t19$1@nnrp1.deja.com> <8berdq$j2p$1@nnrp1.deja.com> <8df3a7$j2g$1@nnrp1.deja.com> Organization: Oklahoma State University User-Agent: slrn/0.9.6.2 (Linux) Reply-To: dstarner98@aasaa.ofe.org Newsgroups: comp.lang.ada Date: 2000-04-18T00:00:00+00:00 List-Id: On Tue, 18 Apr 2000 09:33:38 +1000, Dale Stanbrough wrote: >Robert Dewar wrote: > >> (a good compiler will convert such >> a tail recursion to the goto in any case) > > >I suppose the stand out question is... > > "is gnat a good compiler?" Current versions of gnat will do some, but not a whole lot of tail recursion. Future versions based on gcc 3.0 will be better at this, or so I am lead to believe. You can always make some sample programs and dump to assembly and check if it does where you need it to. -- David Starner - dstarner98@aasaa.ofe.org Only a nerd would worry about wrong parentheses with square brackets. But that's what mathematicians are. -- Dr. Burchard, math professor at OSU