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

G. Steinmetz <gs...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code

--- Comment #1 from G. Steinmetz <gs...@t-online.de> ---

Similar cases with "select type" instead :


$ cat z3.f90
program p
   type t
      integer, allocatable :: a(:)
   end type
   class(t) :: x[:]
   select type (y => x)
   end select
end


$ cat z4.f90
program p
   type t
      integer, allocatable :: a(:)
   end type
   class(t) :: x[*]
   select type (y => x)
   end select
end

Reply via email to