Re: Parallel FORTRAN bite

hirchert@ux1.cso.uiuc.edu (Kurt Hirchert)
Tue, 12 Jun 90 16:45:56 GMT

          From comp.compilers

Related articles
Parallel FORTRAN bite pardo@june.cs.washington.edu (1990-05-30)
Re: Parallel FORTRAN bite sampson@cod.nosc.mil (1990-06-11)
Re: Parallel FORTRAN bite hirchert@ux1.cso.uiuc.edu (1990-06-12)
Parallel Fortran bite worley@compass.com (1990-06-20)
| List of all articles for this month |
Newsgroups: comp.lang.misc,comp.compilers
From: hirchert@ux1.cso.uiuc.edu (Kurt Hirchert)
References: <1990May31.161025.3138@esegue.segue.boston.ma.us> <1990Jun11.191754.2691@esegue.segue.boston.ma.us>
Date: Tue, 12 Jun 90 16:45:56 GMT
Organization: University of Illinois at Urbana
Keywords: Fortran

In article <1990Jun11.191754.2691@esegue.segue.boston.ma.us> sampson@cod.nosc.mil (Charles H. Sampson) writes:
>
>In article <1990May31.161025.3138@esegue.segue.boston.ma.us> pardo@june.cs.washington.edu (David Keppel) writes:
>> DOALL I = 1, N
>> [appeared to the Connection Machine compiler to be]
>> DO ALLI = 1, N
>
> Just to clarify a "fine" point, in ANSI FORTRAN '77, the construct
>
> DOALLI=1,N
>
>(spaces are null in FORTRAN) is defined to mean
>
> DO ALLI = 1, N
>
>(spaces are still null, but I hope my meaning is clear). Therefore, the
>so-called DOALL extension has changed the semantics of standard FORTRAN, ...


To clarify the clarification, there is no statement


                                                      DO ALLI = 1, N


in FORTRAN 77. All DO statements in FORTRAN 77 have a statement label, e.g.,


                                                      DO 10 ALLI = 1, N


The form without a statement label is an extension. I believe the most common
definition of this extension is in Mil. Std. 1753. The form without a
statement label is also contained in the proposed Fortran 90.
--
Kurt W. Hirchert hirchert@ncsa.uiuc.edu
National Center for Supercomputing Applications
[Oops, you're right. -John]
--


Post a followup to this message

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