[Bug fortran/45108] Namelist read: Not aborted when reading from STDIN
jvdelisle at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Aug 19 03:52:00 GMT 2010
------- Comment #6 from jvdelisle at gcc dot gnu dot org 2010-08-19 03:52 -------
Created an attachment (id=21516)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21516&action=view)
Proposed patch
This patch will generate an error. If IOSTAT or IOMSG is used, the read will
continue in the loop after an error, but the error status variables will be set
so that one will know an error occurred when the READ has completed. Any
thoughts Tobias?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45108
More information about the Gcc-bugs
mailing list