[patch, libfortran] PR33253 namelist: reading back a string with apostrophe

Jerry DeLisle jvdelisle@verizon.net
Mon Oct 1 14:42:00 GMT 2007


FX Coudert wrote:
>> In addition, this patch adjusts the conditions that allow extended 
>> reads of namelists.  This now requires -std=legacy.  The reason is 
>> that all these cases with non standard namelists such as extra data or 
>> no delimiters end up conflicting.  The mechanism for handling these is 
>> present, its a matter of choice when to allow what.
> 
> Short of a proper review, which I might do later this week, I want to 
> note that as this requires users to turn change compiler options for 
> their (broken) code, this should probably be noted in the release notes.
> 
> FX
> 
I agree.  Another thing that would be helpful is to see how other compilers 
handle the test cases given.  I only have ifort.

ifort fails on namelist_15.f90 but passes on namelist_24.f90 with no compiler 
options.

Any comment on the behavior we want would be appreciated.

Jerry



More information about the Fortran mailing list