[Bug fortran/38291] Rejects I/O with POS= if FMT=*

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 1 06:45:00 GMT 2008



------- Comment #3 from burnus at gcc dot gnu dot org  2008-12-01 06:44 -------
> read( 50, *, pos = 1 )
> is valid only if the unit has been connected for STREAM access.

Well, (a) I don't see how this can be tested at compile time and (b) I thought
that
  open(50,access='stream')
is doing so.

> So the read statement by itself is invalid.
???


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38291



More information about the Gcc-bugs mailing list