This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/43969] [OOP] ALLOCATED() with polymorphic arrays
- From: "janus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 May 2010 14:18:13 -0000
- Subject: [Bug fortran/43969] [OOP] ALLOCATED() with polymorphic arrays
- References: <bug-43969-9410@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from janus at gcc dot gnu dot org 2010-05-15 14:18 -------
r159431 fixes the problems with allocatable scalar class variables in comment
#1 and #2, and also the wording of the error message reported in comment #5.
However, the ALLOCATED intrinsic still gives a gimplification error for
allocatable class arrays:
type foo
end type
class(foo), allocatable :: aca(:)
write(*,*) 'Check on allocated: ', allocated(aca)
end
--
janus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|wrong-code |ice-on-valid-code
Summary|[OOP] ALLOCATED() with |[OOP] ALLOCATED() with
|polymorphic variables |polymorphic arrays
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43969