[Bug libfortran/17992] reading empty line does not return 0

bdavis at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 23 04:23:00 GMT 2004


------- Additional Comments From bdavis at gcc dot gnu dot org  2004-12-23 04:23 -------
after thinking about this some more, i think it is a bug in g77.

we are trying to read 3 things, the '/' which consumes the first /n, then two
numbers (each I2).  the file has 2 /n's in it.

from the f77 stnadard:

12.9.5.2.1 Using a Format Specification.
If a format specification has been established, format control (13.3) is
initiated and editing is performed as described in 13.3 through 13.5.

On input, the input list and format specification must not require more
characters from a record than the record contains. 


language lawyers, please comment !


i have suspended work on this until we get some more input; is this a bug 
or not ?



--bud

 


-- 


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



More information about the Gcc-bugs mailing list