[patch, gfortran.dg] Make namelist_15.f90 use legal namelist file.

Paul Thomas paulthomas2@wanadoo.fr
Sat Oct 6 16:47:00 GMT 2007


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




More information about the Fortran mailing list