This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, libgfortran] PR60148 Strings in NAMELIST do not honor DELIM= in open statement


On 03/02/2014 12:50 PM, Tobias Burnus wrote:
--- snip ---
> 
> gfortran seems to be special as it defaults to printing the " (quote) delimiter
> by default while other compilers seem to default to "none".
> 

Looking back at the draft F95 standard that I have I am amazed.  As you stated
in your note the standard calls for no quotes on namelist write if no DELIM= has
been specified. And yet, right after that, there is a note stating that the
result of such a namelist write may not be correctly readable.

That was a few years ago when we discussed this issue.  IIRC the consensus was
to make what is written as readable for default behavior.  I think what we do
now is the reasonable approach

For this patch I chose to stay consistent with what we currently do.  I can
change it to standard conforming.  Anyone else have any comments on this?

Regards,

Jerry


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]