This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/50121] Labels in a TYPE statement should be put in the derived type's scope
- 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: Fri, 19 Aug 2011 07:33:46 +0000
- Subject: [Bug fortran/50121] Labels in a TYPE statement should be put in the derived type's scope
- Auto-submitted: auto-generated
- References: <bug-50121-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50121
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-08-19
CC| |burnus at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-08-19 07:33:46 UTC ---
For completeness, the program in comment 0 works with g95, NAG, ifort,
openf95/pathf95.
(Though, in case of g95 seemingly by ignoring such labels in TYPE as adding
another to the same type is not diagnosed. The other compilers do diagnose
this.)
Variant - failing in the same way with gfortran but working with the compiler
mentioned above.
1 integer :: a
1 type t
integer :: i
end type t
end