re PR fortran/34411 (hang-up during read of non-expected input)