This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/34424] Internal file forbidden as I/O list item
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2007 08:54:57 -0000
- Subject: [Bug fortran/34424] Internal file forbidden as I/O list item
- References: <bug-34424-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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