[Bug libfortran/19595] eor and advance="yes" should not mix

2005-01-25 Thread Thomas dot Koenig at online dot de

--- 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


[Bug libfortran/19595] eor and advance="yes" should not mix

2005-01-24 Thread Thomas dot Koenig at online dot de

--- Additional Comments From Thomas dot Koenig at online dot de  2005-01-24 
20:37 ---
*** Bug 19596 has been marked as a duplicate of this bug. ***

-- 


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


[Bug libfortran/19595] eor and advance="yes" should not mix

2005-01-24 Thread Thomas dot Koenig at online dot de


-- 
   What|Removed |Added

   Keywords||diagnostic


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