[Bug fortran/41198] gfortran 4.5 does not produce "Warning: Deleted feature: GOTO at (1) jumps to END of construct at (2)"
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 31 18:58:00 GMT 2009
------- Comment #4 from kargl at gcc dot gnu dot org 2009-08-31 18:58 -------
(In reply to comment #2)
> If I move "GOTO 50" outside of the block, gfortran 4.5 correctly gives the
> message "Warning: Label at (1) is not in the same block as the GOTO statement
> at (2)", but gfortran 4.3 and 4.4 give no message.
>
As I said, 4.3 and 4.4 had/have a bug. The PR that fixed this problem
is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38507
The patch was committed to trunk on 2009-03-29. Judging from the release
date of 4.4.0, it was deemed too close to release to do a backport.
A search of fortran@ finds the first analysis of the problem here:
http://gcc.gnu.org/ml/fortran/2008-12/msg00355.html
Here's my first attempt at fixing the problem before Tobias Schlueter
took over the PR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41198
More information about the Gcc-bugs
mailing list