[Patch, Fortran, F03] PR 84409: check DTIO arguments for character len
Janus Weil
janus@gcc.gnu.org
Thu Feb 15 21:17:00 GMT 2018
2018-02-15 22:03 GMT+01:00 Steve Kargl <sgk@troutmask.apl.washington.edu>:
> On Thu, Feb 15, 2018 at 09:55:58PM +0100, Janus Weil wrote:
>> 2018-02-15 21:16 GMT+01:00 Steve Kargl <sgk@troutmask.apl.washington.edu>:
>> >
>> > If the above is a numbered constraint in the Standard,
>> > can you add a comment of the form /* F03:C1111. */
>> > above the if-statement.
>>
>> Well, the if statement that I'm adding is not covered by a single
>> clause in the standard. Instead the DTIO interfaces are described as a
>> whole in a chapter, whose number I'm now adding in the comment above
>> the function:
>
> Thanks. The source code has become sufficiently complicated
> that a small comment references the Standard simply aids (me)
> in debugging/reading the code.
Absolutely. It's important to provide clear links between the standard
and the implementation.
I have committed the patch as r257711.
Cheers,
Janus
More information about the Fortran
mailing list