Re: Loop Optimizations and Gotos

j-grout@glibm9.cen.uiuc.edu (John R. Grout)
Fri, 17 Nov 1995 20:05:38 GMT

          From comp.compilers

Related articles
Loop Optimizations and Gotos jra@gensym.com (1995-11-08)
Re: Loop Optimizations and Gotos burley@cygnus.com (1995-11-12)
Loop Optimizations and Gotos dave@occl-cam.demon.co.uk (Dave Lloyd) (1995-11-12)
Re: Loop Optimizations and Gotos cliffc@ami.sps.mot.com (1995-11-13)
Re: Loop Optimizations and Gotos cdg@nullstone.com (1995-11-13)
Re: Loop Optimizations and Gotos faiman@zko.dec.com (1995-11-16)
Re: Loop Optimizations and Gotos hrubin@stat.purdue.edu (1995-11-17)
Re: Loop Optimizations and Gotos j-grout@glibm9.cen.uiuc.edu (1995-11-17)
Re: Loop Optimizations and Gotos baynes@ukpsshp1.serigate.philips.nl (1995-11-20)
Re: Loop Optimizations and Gotos plong@perf.com (Paul Long) (1995-11-21)
Re: Loop Optimizations and Gotos preston@tera.com (1995-11-21)
Re: Loop Optimizations and Gotos cliffc@ami.sps.mot.com (1995-11-21)
Re: Loop Optimizations and Gotos cliffc@ami.sps.mot.com (1995-11-22)
Re: Loop Optimizations and Gotos Paul_Long@ortel.org (1995-11-23)
[3 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: j-grout@glibm9.cen.uiuc.edu (John R. Grout)
In-Reply-To: burley@cygnus.com's message of Sun, 12 Nov 1995 05:38:07 GMT
Keywords: Fortran, optimize
Organization: University of Illinois at Urbana
References: 95-11-076 95-11-103
Date: Fri, 17 Nov 1995 20:05:38 GMT

  burley@cygnus.com (Craig Burley) writes:


> From what I gathered at the time, the reason to RAISE primitive stuff
> to higher-level constructs in Fortran is that _lots_ of old Fortran
> code exists that uses no looping constructs -- because it was written
> before they existed or were considered "safe" by the code authors.


FORTRAN-66 required DO to perform at least one loop iteration. If you
wanted the possibility of no iterations, you needed an IF test, or you
just didn't use DO at all.


John R. Grout Center for Supercomputing R & D j-grout@uiuc.edu
Coordinated Science Laboratory University of Illinois at Urbana-Champaign
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.