This is the mail archive of the
mailing list for the GCC project.
Re: [patch, gfortran.dg] Make namelist_15.f90 use legal namelist file.
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: Paul Thomas <paulthomas2 at wanadoo dot fr>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 06 Oct 2007 10:01:43 -0700
- Subject: Re: [patch, gfortran.dg] Make namelist_15.f90 use legal namelist file.
- References: <4707A9E8.firstname.lastname@example.org> <4707BC32.email@example.com>
Paul Thomas wrote:
Thanks Paul, committed.
Hi,I saw the correspondence on comp.lang.fortran. It's a pity, I put a lot
into parsing all that illegal stuff :-)
I plan to commit the attached patch if no objections. The namelist
file used for the test has illegal object specifiers. Only one
non-zero rank specifier is permitted. Also the standard requires that
substring specifiers be complete, meaning one of the three forms:
This revised test case now passes all compilers we tested, xlf, sun,
ifort, g95, gfortran. (I also removed some leftover debug code and
re-enabled the abort)
It is, of course, OK
Thanks to Dominique for pointing this out and assisting with testing.