This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/24416] Wrong reading following namelist reading
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2005 21:13:39 -0000
- Subject: [Bug libfortran/24416] Wrong reading following namelist reading
- References: <bug-24416-11540@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from pault at gcc dot gnu dot org 2005-10-24 21:13 -------
Fixed on mainline and 4.03.
The problem turned out to be that saved_string was not being freed after
character reads. This is done within read_<type> for every type other than
character, which is why it was missed. Have added free_saved () at the exit
from namelist_read.
Paul T
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24416