[Bug fortran/36746] Rejects variable which is implictly typed as derived typed with DIMENSION

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Jul 6 19:49:00 GMT 2008



------- Comment #2 from burnus at gcc dot gnu dot org  2008-07-06 19:48 -------
The problem is the combination of
   implicit type(t)(x)
with the DIMENSION statement. Reduced test case:

module m
  type t
    integer :: i
  end type t
contains
  subroutine s(x)
    implicit type(t)(x)
    dimension x(:)
    print *, x(1)%i
  end subroutine s
end module m
end


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2008-07-06 19:48:56
               date|                            |
            Summary|gfortran sytax error on     |Rejects variable which is
                   |Bailey's multiprecision     |implictly typed as derived
                   |array module                |typed with DIMENSION


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36746



More information about the Gcc-bugs mailing list