https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104048

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |7.1.0
           Keywords|                            |ice-on-valid-code

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, reduced testcase:
MODULE h
    TYPE :: tt
        TYPE(tt), ALLOCATABLE :: left_view
    END TYPE tt
CONTAINS
FUNCTION ff( arg ) result(res)
    CLASS(tt), INTENT(IN) :: arg
    CLASS(tt),  ALLOCATABLE :: res
    ALLOCATE( res )
    res%left_view  = arg
END FUNCTION ff
END MODULE

Reply via email to