http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53796
--- Comment #8 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-06-29 15:04:47 UTC --- Steve Lionel points at the following: "If an error condition occurs during execution of an INQUIRE statement, all of the inquiry specier variables become undened, except for variables in the IOSTAT= and IOMSG= speciers (if any)." Thus, if the RECL of the connection is larger than huge(kind(recl_var)), one has to raise an error. The question is only how the default should be handled. As written, I do not really understand the current algorithm. Namely, whether we effectively implement huge(0_int64) by extending the chunks. Or whether we apply a lower boundary by default. Additionally, we have the problem that the internal IO descriptor is only of kind int32 (cf. PR 44292).