This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, libfortran] PR33253 namelist: reading back a string with apostrophe
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