Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!rochester!uhura.cc.rochester.edu!rbr4 From: rbr4@uhura.cc.rochester.edu (Roland Roberts) Newsgroups: comp.lang.fortran Subject: Re: Dubious Fortran Construct Summary: VAX/VMS Fortran Compiler accepts this Keywords: DO loops; transfer of control Message-ID: <467@ur-cc.UUCP> Date: 9 Dec 88 18:11:38 GMT References: <22994@sgi.SGI.COM> Reply-To: rbr4@uhura.cc.rochester.edu (Roland Roberts) Organization: University of Rochester Lines: 17 In article <22994@sgi.SGI.COM> bron@bronze.SGI.COM (Bron Campbell Nelson) writes: [problem (deleted): multiple do loops terminated by single statement statement in outer loop (conditionally) branches to loop termination] >I am aware that the VMS compiler rejects this as illegal since it >considers statement 10 to belong to the inner loop, and so the branch >would be into an inner block (which is illegal). I've used this construct before, so I was rather surprised by this claim. To test it, I've just typed in this code and our VAX/VMS compiler didn't complain in the slightest. -- Roland Roberts BITNET: roberts@uornsrl Nuclear Structure Research Lab INTERNET: rbr4@uhura.cc.rochester.edu 271 East River Road UUCP: rochester!ur-cc!rbr4 Rochester, NY 14267 AT&T: (716) 275-8962