https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70072
--- Comment #1 from Gerhard Steinmetz <gerhard.steinmetz.fort...@t-online.de> --- Whereas with "type" instead of "class" : $ cat z2.f90 program p type t integer :: n end type type(t), parameter :: z(2,3) = t(1) print *, size(z, dim=1) print *, lbound(z, dim=1) print *, ubound(z, dim=1) end $ gfortran-6 z2.f90 $ a.out 2 1 2