Dear All, This is a rather trivial patch... going on 'obvious' in fact. However, I must confess to not being entirely sure why the problem is occurring. Deferred arrays are emanating from the finalizer that are being presented as ARRAY_TYPES rather than descriptors. What ever is the reason, the fix is both safe and does what is required. Bootstrapped and regtested on FC21/x86_64 - OK for trunk? Paul 2015-12-18 Paul Thomas PR fortran/68864 * trans-array.c (evaluate_bound): If deferred, test that 'desc' is an array descriptor before using gfc_conv_descriptor_xxx. 2015-12-18 Paul Thomas PR fortran/68864 * gfortran.dg/pr68864.f90: New test.