--- Additional Comments From Thomas dot Koenig at online dot de 2005-01-25
12:44 ---
The following fixes the parsing issue:
--- transfer.c.orig 2005-01-25 13:43:28.0 +0100
+++ transfer.c 2005-01-25 13:43:35.0 +0100
@@ -1041,7 +1041,7 @@
if (read_flag)
{
- if (ioparm.eor != 0 && advance_status == ADVANCE_NO)
+ if (ioparm.eor != 0 && advance_status != ADVANCE_NO)
generate_error (ERROR_MISSING_OPTION,
"EOR specification requires an ADVANCE specification of
NO");
End-of-record handling for formatted read is generally broken, which
also includes eor (see PR 19568).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19595