This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/30626] Wrong-code for internal read
- 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: 30 Jan 2007 10:56:18 -0000
- Subject: [Bug fortran/30626] Wrong-code for internal read
- References: <bug-30626-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pault at gcc dot gnu dot org 2007-01-30 10:56 -------
FX,
It's funny that you should alight on this one - Last night, I forwarded a patch
to Jerry that cures the front-end problems but breaks in transfer.c. As well as
the testcase from PR30284, I sent him one that is essentially yours.
I am not in a position to attach the patch now. It resolves the combined array
and substring references by writing a temporary array of character(4) and then
reading it back again, after the IO operation. Once working, this can also
take note of the sense of the IO operation. It seems that the zero based
indexing of the temporary is throwing the library in some way. Jerry has
applied the patch and agrees that there is a problem somewhere - he will try to
see if it is the library or not.
I have cc'd this to Jerry in the hope that he can update you sooner than me.
Cheers
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jvdelisle at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30626