https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411
G. Steinmetz <gs...@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code --- Comment #1 from G. Steinmetz <gs...@t-online.de> --- Detected : $ cat z2.f90 program p integer, parameter :: b(2,2) = reshape([1,2,3], [2,2]) print *, b end $ gfortran-12-20211121 -c z2.f90 z2.f90:2:42: 2 | integer, parameter :: b(2,2) = reshape([1,2,3], [2,2]) | 1 Error: Without padding, there are not enough elements in the intrinsic RESHAPE source at (1) to match the shape