This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33108] unformatted string write errors with End of record.
- 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: 18 Aug 2007 17:42:34 -0000
- Subject: [Bug fortran/33108] unformatted string write errors with End of record.
- References: <bug-33108-14991@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-08-18 17:42 -------
When using list directed formatting, the default for a string appends a " "
(space) in front of the output. If you replace * with '(a)' you will see that
it is fine. Why the others accept it, I don't know.
One question then: Is the leading space to be omitted when writing to an
internal string?
I will check the standard on this.
--
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|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-08-18 17:42:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33108