[patch, libfortran] PR33672 Additional runtime checks needed for namelist reads
Jerry DeLisle
jvdelisle@verizon.net
Sat Oct 13 13:47:00 GMT 2007
Ping please.
Jerry DeLisle wrote:
> :ADDPATCH fortran:
>
> Hi all,
>
> The attached patch provides additional run-time checks to namelist
> reading to assure that namelist file contents comply with the F95 standard.
>
> Since gfortran was permitting bogus qualifiers, this could affect users
> who may have been doing things incorrectly. However, gfortran does
> WRITE namelists correctly so files generated using gfortran to write
> them will work fine.
>
> New test case provided.
>
> Regression tested on x86-64.
>
> OK to commit.
>
> Regards,
>
> Jerry
>
> 2007-10-07 Jerry DeLisle <jvdelisle@gcc.gnu.org>
>
> PR libfortran/33672
> * io/list_read.c (nml_parse_qualifier): Add character specific error
> messages. Check for proper form of sub-string qualifiers. Return the
> parsed_rank flag indicating a non-zero rank qualifier.
> (nml_get_obj_data): Count the instances of non-zero rank qualifiers.
> Issue an error if more that one non-zero rank qualifier is found.
>
More information about the Fortran
mailing list