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