IS_CONTIGUOUS intrinsic function
Standard: F77 F90 F95 F2003 F2008   Example Program

ARRAY : array of any type;

Result : Logical scalar, default kind.
The result is .TRUE. if the argument is stored contiguously, and .FALSE. if the argument is not contiguous. Contiguity refers to the spacing between array elements, so there is no meaning in the result for a zero-sized array.
CONTIGUOUS attribute, DIMENSION attribute