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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-09-16
            Summary|Wrong code with structure   |[F03] Wrong code with
                   |constructor for             |structure constructor for
                   |proc-pointer components     |proc-pointer components
     Ever Confirmed|0                           |1

--- Comment #2 from janus at gcc dot gnu.org 2012-09-16 21:19:09 UTC ---
Here is a reduced test case for the ICE:


  implicit none

  type :: ext_ptr
    procedure(), nopass, pointer :: init
  end type

  type(ext_ptr) :: this

  this = ext_ptr(this%init) ! ICE in fold_convert_loc

end

Reply via email to