This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/35627] [4.3, 4.4 regression] namelist read error
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2008 17:55:22 -0000
- Subject: [Bug fortran/35627] [4.3, 4.4 regression] namelist read error
- References: <bug-35627-15934@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from jvdelisle at gcc dot gnu dot org 2008-03-19 17:55 -------
What I observed is that if you change the namelist file to nlco = 200*.TRUE.
the subsequent real reads work fine. Likewise if you move the logical to the
end after the real reads, it works fine. So this is why I suspect the
read_logical may have an off by one leftover in line_buffer or we are not
cleaning up correctly on that. This may be where the spurious \0 is coming
from. I will have more time to look into it in the next few days.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35627