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/34424] Internal file forbidden as I/O list item



------- 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


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