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/36746] Rejects variable which is implictly typed as derived typed with DIMENSION



------- 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


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