This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/53796] I/O INQUIRE of RECL: If not specified in OPEN, the default value should be returned (sequential access)


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 specier variables become undened, except for variables in the
IOSTAT= and IOMSG= speciers (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).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]