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

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

Compiles and runs without attribute "parameter" :


$ cat z2.f90
program p
   type t
      integer :: n = 789
   end type
   type(t) :: a(2) = t()
   type(t) :: b(2)
   b = [a]
   print *, size(b), b
end


$ gfortran-9-20181209 z2.f90 -static-libgfortran
$ a.out
           2         789         789
$

Reply via email to