http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47082

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |janus at gcc dot gnu.org

--- Comment #1 from janus at gcc dot gnu.org 2010-12-28 21:05:34 UTC ---
Here is a reduced test case:


module m0
  implicit none
  type :: t0
  end type
end module

module m1
  use m0
  implicit none
  type, extends(t0) :: t1
    integer, allocatable :: i
  end type
  class(t0), pointer, private :: idxmap
end module

module m2
  use m0
  implicit none
  type t2
    class(t0), allocatable :: indxmap
  end type
end module

program bug29
  use m1
  use m2
  implicit none
  type(t2) :: desc
  allocate(t1 :: desc%indxmap)
end

Reply via email to