This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50071] gfortran does not distinguish labels in different type scoping units
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 18 Aug 2011 12:36:21 +0000
- Subject: [Bug fortran/50071] gfortran does not distinguish labels in different type scoping units
- Auto-submitted: auto-generated
- References: <bug-50071-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50071
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-18 12:36:21 UTC ---
Submitted patch by Mikael: http://gcc.gnu.org/ml/fortran/2011-08/msg00127.html
The submitted patch fixes the issue of comment 0 and an issue affecting BLOCK
and ASSOCIATE.
It does not fix the following two programs, which should be valid and are
currently rejected.
! ----------
1 type t
integer :: i
end type t
goto 1
1 print *, 'Hello'
end
! ----------
block
goto 1
print *, 'Hello'
1 continue
end block
1 continue
end
Regarding the validity of the latter, I have now asked at J3:
http://j3-fortran.org/pipermail/j3/2011-August/004585.html