Article View: comp.lang.misc
Article #1285Re: Parallel FORTRAN bite
From: Kurt Hirchert
Date: Tue, 12 Jun 1990 16:45
Date: Tue, 12 Jun 1990 16:45
36 lines
2070 bytes
2070 bytes
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]
--
Send compilers articles to compilers@esegue.segue.boston.ma.us
{spdcc | ima | lotus| world}!esegue. Meta-mail to compilers-request@esegue.
Technical Details
Message-ID:
<1990Jun12.134750.18305@ux1.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!snorkelwacker!spdcc!esegue!compilers-senderReferences:
<1990May31.161025.3138@esegue.segue.boston.ma.us> <1990Jun11.191754.2691@esegue.segue.boston.ma.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!usc!snorkelwacker!spdcc!esegue!compilers-sender From: hirchert@ux1.cso.uiuc.edu (Kurt Hirchert) Newsgroups: comp.lang.misc,comp.compilers Subject: Re: Parallel FORTRAN bite Keywords: Fortran Message-ID: <1990Jun12.134750.18305@ux1.cso.uiuc.edu> Date: 12 Jun 90 16:45:56 GMT References: <1990May31.161025.3138@esegue.segue.boston.ma.us> <1990Jun11.191754.2691@esegue.segue.boston.ma.us> Sender: compilers-sender@esegue.segue.boston.ma.us Reply-To: hirchert@ux1.cso.uiuc.edu (Kurt Hirchert) Organization: University of Illinois at Urbana Lines: 36 Approved: compilers@esegue.segue.boston.ma.us