This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50121] Labels in a TYPE statement should be put in the derived type's scope


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]