This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Paul Thomas wrote:
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



Thanks Paul, committed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]