This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/22570] Null Characters instead of blanks in text output.
- From: "stevenb at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2005 10:53:41 -0000
- Subject: [Bug libfortran/22570] Null Characters instead of blanks in text output.
- References: <20050720153355.22570.dir@lanl.gov>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From stevenb at suse dot de 2005-07-21 10:53 -------
Subject: Re: Null Characters instead of blanks in t extoutput
On Thursday 21 July 2005 12:11, Steven Bosscher wrote:
> Thanks for your efforts. Sadly these patches still do not fix mgrid :-(
This is a test case for the mgrid problem:
IMPLICIT NONE
INTEGER I
REAL U(3)
OPEN(UNIT=18, FORM='FORMATTED', STATUS='UNKNOWN')
WRITE (18,100) (U(I), I=1,3)
100 FORMAT (2X, E15.6)
CLOSE(UNIT=18)
END
With the patches from the previous mail applied it now outputs:
========================================
0.000000E+00
^@^@ 0.000000E+00
^@^@ 0.597604E-38
========================================
with as usual '^@' == '\0'.
Gr.
Steven
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22570