From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29813 invoked by alias); 26 Feb 2005 19:44:12 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29794 invoked by uid 48); 26 Feb 2005 19:44:09 -0000 Date: Sun, 27 Feb 2005 08:49:00 -0000 Message-ID: <20050226194409.29793.qmail@sourceware.org> From: "kargl at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050226174515.20224.dir@lanl.gov> References: <20050226174515.20224.dir@lanl.gov> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/20224] gfortran - flags error on strange, but correct f77 program X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg03256.txt.bz2 List-Id: ------- Additional Comments From kargl at gcc dot gnu dot org 2005-02-26 19:44 ------- This is illegal code with respect to F77. >>From ansi-x3dot9-1978-Fortran77.pdf 11.10.8 Transfer into the Range of a Do-Loop Transfer of control into the range of a DO-loop from outside the range is not permitted. I haven't looked in the F2003 standard, but I suspect it is also illegal. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20224