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/43969] [OOP] ALLOCATED() with polymorphic arrays



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


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