This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/17992] reading empty line does not return 0
- From: "bdavis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2004 04:23:37 -0000
- Subject: [Bug libfortran/17992] reading empty line does not return 0
- References: <20041014070923.17992.milan@cmm.ki.si>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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