Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uflorida!novavax!hcx1!hcx2!bill From: bill@hcx2.SSD.HARRIS.COM Newsgroups: comp.lang.fortran Subject: Re: Dubious Fortran Construct Message-ID: <44400031@hcx2> Date: 8 Dec 88 21:55:00 GMT References: <22994@sgi.SGI.COM> Lines: 14 Nf-ID: #R:sgi.SGI.COM:22994:hcx2:44400031:000:590 Nf-From: hcx2.SSD.HARRIS.COM!bill Dec 8 16:55:00 1988 The X3J3 FORTRAN committee has considered this question, and an official interpretation will be published sometime in the near future, I believe. (I can't remember whether we took the final vote or not.) In any case, the concensus seems to be that this is illegal. The terminating statement belongs to the inner loop, so the GOTO is a branch into a DO loop from outside the loop, which is prohibited by the standard. Bill Leonard, Member X3J3 Harris Computer Systems Division 2101 W. Cypress Creek Road Fort Lauderdale, FL 33309 bill@ssd.harris.com or bill%ssd.harris.com@eddie.mit.edu