https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103283
G. Steinmetz <gs...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code --- Comment #1 from G. Steinmetz <gs...@t-online.de> --- With simplified array constructor : $ cat z3.f90 program p type t integer :: a(1) = 2 end type type(t), parameter :: x(1) = [t(3)] integer :: y(1) y = [x(1)%a] print *, y(1) end $ gfortran-12-20211114 z3.f90 && ./a.out 3 $