[Bug fortran/34424] Internal file forbidden as I/O list item
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 11 08:55:00 GMT 2007
------- Comment #2 from burnus at gcc dot gnu dot org 2007-12-11 08:54 -------
Maybe it is valid. Richard Maine writes in the thread:
---------- quote --------------------
It isn't allowed. But that restriction is in a different place (a much
more sensible one). [...]
For that one see 9.11 in f2003 (The section titled "Restrictions on
input/output statements", which was at least an attempt to collect these
things). Sixth para
"The value of a specifier in an input/output statement shall not
depend on any input-item..."
But this is specific to input items. The original case was output. And
as Dick noted, the darned phrasing might indeed have a hole in that
strtosearch wasn't exactly an output item.
----------end of quote--------------------
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34424
More information about the Gcc-bugs
mailing list