This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26766] [F2003] Recursive I/O still (again) broken
- 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: 24 Mar 2006 02:06:37 -0000
- Subject: [Bug fortran/26766] [F2003] Recursive I/O still (again) broken
- References: <bug-26766-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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