This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20224] gfortran - flags error on strange, but correct f77 program
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Feb 2005 00:06:14 -0000
- Subject: [Bug fortran/20224] gfortran - flags error on strange, but correct f77 program
- References: <20050226174515.20224.dir@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From kargl at gcc dot gnu dot org 2005-02-27 00:06 -------
Here's a little more info from the F77 standard, Appendix A.
A2. Conflicts with ANSI X3.9-1966
An extremely important consideration in the preparation of this
standard was the minimization of conflicts with the previous
standard, ANSI X3.9-1966. This standard includes changes that
create conflicts with ANSI X3.9-1966 only when such changes were
necessary to correct an error in the previous standard or to add
to the power of the FORTRAN language in a significant manner.
The following is a list of known conflicts:
(7) This standard does not permit a transfer of control into the
range of a DO-loop from outside the range. The range of a
DO-loop may be entered only by the execution of a DO statement.
ANSI X3.9-1966 permitted transfer of control into the range of
a DO-loop under certain conditions. This involved the concept
referred to as "extended range of a DO."
I think that this can be closed with a WONTFIX, since there is
nothing to fix.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20224