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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-07
                 CC|                            |janus at gcc dot gnu.org
            Summary|[OOP][Regression]  ICE with |[4.9 Regression] [OOP] ICE
                   |move_alloc on polymorphic   |with move_alloc on
                   |component                   |polymorphic component with
                   |                            |-fcheck=all
     Ever confirmed|0                           |1

--- Comment #1 from janus at gcc dot gnu.org ---
Confirmed. Reduced test case:


  type prec_type
  end type

  type container
    class(prec_type), allocatable :: item
  end type

  type(container), allocatable :: pool(:), dbp(:)

  allocate(dbp(1))

  call move_alloc(pool(1)%item,dbp(1)%item)

end

Reply via email to