This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/25349] T edit descriptor broken for output on files
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2005 13:59:18 -0000
- Subject: [Bug libfortran/25349] T edit descriptor broken for output on files
- References: <bug-25349-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2005-12-11 13:59 -------
(In reply to comment #3)
> Does someone else see this?
Answering to myself: it disappeared with a clean build.
As for the cause of the problem, it's truncation after the last character
write. Another slightly different example:
$ cat t.f
open(11,status="replace")
write (11,'(A,TL2,A)') 'AA','B'
end
$ gfortran t.f && ./a.out
$ cat fort.11
B
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-12-11 10:20:20 |2005-12-11 13:59:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25349