Hi. On http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gfortran/ALLOCATED.html#ALLOCATED it is written "If X is allocated, ALLOCATED(X) is .TRUE.; otherwise, it returns the .TRUE. " It should be ".FALSE." at the end, I think. Regards. Dima.