This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36746] Rejects variable which is implictly typed as derived typed with DIMENSION
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2008 19:48:57 -0000
- Subject: [Bug fortran/36746] Rejects variable which is implictly typed as derived typed with DIMENSION
- References: <bug-36746-16425@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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