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

--- Comment #3 from G. Steinmetz <gs...@t-online.de> ---
A class/type issue - changing x from class to type :


$ cat z3.f90
program p
   type t
      integer :: a
   end type
   type(t), allocatable :: x
   type(t) :: z = t(3)
   x = z
   z = (x)
   print *, z
end


$ gfortran-8-20180121 -g -O0 -Wall -fcheck=all -static-libgfortran z3.f90
$ a.out
           3
$

Reply via email to