re PR fortran/85130 (Substrings out of range are not rejected)