[Patch, Fortran] PR25071 - give an error if character len of actual argument too short

Tobias Burnus burnus@net-b.de
Fri May 4 07:59:00 GMT 2007


Hi,

Brooks Moses wrote:
> I think you should also check for the "actual argument shorter" error
> for the pointer and allocatable cases.
Good idea!

>> +  ! call indirect (textp2) ! needs fixed PR31803
> I don't think that commenting things out like this is useful -- it's
> all too easy to forget to uncomment them when the PR is fixed.
> Instead, leave it as it is, and then whoever fixes the PR can commit a
> testcase for this version of things.  Or make a PR that records the
> fact that this should be changed, and set it to depend on PR31803, or
> something like that.  (Or just make a note in PR31803 about it.)
This was my idea - to add a note to PR31803, but I wanted to do it only
after the patch went in; thanks for reminding.

Tobisa



More information about the Fortran mailing list