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



janus at gcc dot gnu.org changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |NEW

           Keywords|                            |ice-on-valid-code

   Last reconfirmed|                            |2012-11-21

                 CC|                            |janus at gcc dot gnu.org,

                   |                            |pault at gcc dot gnu.org

     Ever Confirmed|0                           |1

            Summary|ICE class pointer           |[OOP] ICE with

                   |                            |class-array-pointer result



--- Comment #1 from janus at gcc dot gnu.org 2012-11-21 16:52:56 UTC ---

(In reply to comment #0)

> Is that known?



Not that I know of. Reduced version:





MODULE base_types

  IMPLICIT NONE

  TYPE :: base_type

  END TYPE

contains

  FUNCTION points_to () RESULT (reslt)

    CLASS(base_type), DIMENSION(:), POINTER :: reslt

  END FUNCTION

END MODULE



program bug

  use base_types

  implicit none

  CLASS(base_type), POINTER, DIMENSION(:) :: reslt

  reslt => points_to()

end





ICEs with trunk and 4.7.

Reply via email to