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

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

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

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

It is accepted by gfortran/ifort/ifx if the assignment 
in t3(x=x) is replaced by a direct assignment
(example from comment #0 is also accepted by ifort/ifx)


$ cat z2.f90
program p
   type t
   end type
   type, extends(t) :: t2
   end type
   type(t) :: x = t()
   type(t2) :: y = t2()
   class(t), allocatable :: z
   z = x
   z = y
   z = x
   z = y
end

Reply via email to