This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, gfortran.dg] Make namelist_15.f90 use legal namelist file.
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- 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 18:47:46 +0200
- Subject: Re: [patch, gfortran.dg] Make namelist_15.f90 use legal namelist file.
- References: <4707A9E8.6080402@verizon.net>
Jerry,
Hi,
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:
(j:j)
(:j)
(j:)
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)
I saw the correspondence on comp.lang.fortran. It's a pity, I put a lot
into parsing all that illegal stuff :-)
Thanks to Dominique for pointing this out and assisting with testing.
Regards,
Jerry
It is, of course, OK
Paul