This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/35627] [4.3, 4.4 regression] namelist read error



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]