[Bug fortran/88488] ICE in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1646
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Thu Dec 13 17:06:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88488
--- Comment #1 from G. Steinmetz <gscfq@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
$
More information about the Gcc-bugs
mailing list