[comp.lang.fortran] enddo summary

john@spectre.unm.edu (John Prentice) (06/27/91)

Here is a brief summary of compilers that will accept the use of enddo to
terminate a do loop in Fortran without the use of a statement label:
1.  cft77 - version 4.0.2  (undocumented-this compiler also accepts
                            do while, similiarly undocumented)
2.  Sun f77 v1.3.1+patches
3.  FPS f77 v5.0 (works with -KVMS only)
4.  IBM RS/6000 xlf version ?
5.  VAX Fortran (under VMS/Ultrix)
6.  DEC MIPS f77
7.  HP f77
8.  Lahey F77L (as of August 1989)
9.  MS-FORTRAN v5.0
10. MPW fortran

My thanks to David Bernholdt, Dave Lindsley, Joseph Landman, Peter Shenkin,
John McCalpin, and Jim Giles.  

John
-- 
John K. Prentice    john@spectre.unm.edu (Internet)
Computational Physics Group
Amparo Corporation, Albuquerque, NM

chidsey@smoke.brl.mil (Irving Chidsey) (06/27/91)

In article <1991Jun26.231801.8114@ariel.unm.edu> john@spectre.unm.edu (John Prentice) writes:
<Here is a brief summary of compilers that will accept the use of enddo to
<terminate a do loop in Fortran without the use of a statement label:
<1.  cft77 - version 4.0.2  (undocumented-this compiler also accepts
<                            do while, similiarly undocumented)
<
	Hardly undocumented, they're in the manual.  SR-3071 4.0.
DO WHILE is paragraph 6.3.2 on page 236, END DO is paragraph 6.3.3.2
on page 637.  In the index also.  Both are listed as CF77 extensions.
CF77 seems to be the replacement for CFT77, because this manual supersedes
the last edition of the CFT77 reference manual, SR-0018C.

								Irv
<John
<-- 


-- 
I do not have signature authority.  I am not authorized to sign anything.
I am not authorized to commit the BRL, the DA, the DOD, or the US Government
to anything, not even by implication.  They do not tell me what their policy 
is.  They may not have one.		Irving L. Chidsey  <chidsey@brl.mil>

patrick@convex.COM (Patrick F. McGehearty) (06/28/91)

In article <1991Jun26.231801.8114@ariel.unm.edu> john@spectre.unm.edu (John Prentice) writes:
>Here is a brief summary of compilers that will accept the use of enddo to
>terminate a do loop in Fortran without the use of a statement label:
...
Convex fc also supports enddo.

Who are the significant vendors which don't?

john@spectre.unm.edu (John Prentice) (06/28/91)

In article <1991Jun27.173503.1542@convex.com> patrick@convex.COM (Patrick F. McGehearty) writes:
>In article <1991Jun26.231801.8114@ariel.unm.edu> john@spectre.unm.edu (John Prentice) writes:
>>Here is a brief summary of compilers that will accept the use of enddo to
>>terminate a do loop in Fortran without the use of a statement label:
>...
>Convex fc also supports enddo.
>
>Who are the significant vendors which don't?

As far as I can tell, all significant vendors support it.  I assume they
also support do while, but I haven't made as through a study of that.

John
-- 
John K. Prentice    john@spectre.unm.edu (Internet)
Computational Physics Group
Amparo Corporation, Albuquerque, NM

ercs50@castle.ed.ac.uk (simon) (06/28/91)

In article <1991Jun27.173503.1542@convex.com> patrick@convex.COM (Patrick F. McGehearty) writes:
>In article <1991Jun26.231801.8114@ariel.unm.edu> john@spectre.unm.edu (John Prentice) writes:
>>Here is a brief summary of compilers that will accept the use of enddo to
>>terminate a do loop in Fortran without the use of a statement label:
>...
>Convex fc also supports enddo.
>
Edinburgh Portable Compiler's epcf77 supports do...enddo and do while...enddo
too!


Simon Lawrence, Edinburgh Portable Compilers Ltd 
simon@uk.ac.ed.epcfta

doog@travis.ssd.csd.harris.com (Doug Scofield) (06/28/91)

From article <>, by john@spectre.unm.edu (John Prentice):
) In article <> patrick@convex.COM (Patrick F. McGehearty) writes:
)>In article <> john@spectre.unm.edu (John Prentice) writes:
)>>Here is a brief summary of compilers that will accept the use of enddo to
)>>terminate a do loop in Fortran without the use of a statement label:
)>...
)>Convex fc also supports enddo.
)>
)>Who are the significant vendors which don't?
) 
) As far as I can tell, all significant vendors support it.  I assume they
) also support do while, but I haven't made as through a study of that.

We support DO ENDDO, DO WHILE, and a DO UNTIL, and we're certainly 
significant. :-)

doog
--
doug scofield                    doog@ssd.csd.harris.com  (preferred)
harris computer systems                  uunet!hcx1!doog
	    "Nothin' left to do but :-) ;-) 8-)"