[Bug fortran/26766] [F2003] Recursive I/O still (again) broken

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 24 02:06:00 GMT 2006



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2006-03-24 02:06 -------
I think I have a fix for this.  The internal_unit is a single static variable
declared in unit.c.  So when we have recursive calls to internal IO we are
stepping on our own feet.

The dtp structure also contains a unit structure.  If we use this structure
instead, there will be an independent internal unit for each internal string or
character array we do I/O with.

I will see if I can work up a patch in the next few weeks.


-- 

jvdelisle at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jvdelisle at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-03-20 17:20:50         |2006-03-24 02:06:36
               date|                            |


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



More information about the Gcc-bugs mailing list