------- Comment #2 from burnus at gcc dot gnu dot org 2007-09-04 15:25 ------- > integer array(5), i1, i2 > print *, size(array,(/i1,i2/))
13.7.112 SIZE (ARRAY [, DIM, KIND]) ARRAY may be of any type. It shall not be scalar. DIM (optional) shall be scalar and of type integer KIND (optional) shall be a scalar integer initialization expression. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33297