[patch, fortran] PR30481 Accepts namelist-group object with assumed character length
Brooks Moses
brooks.moses@codesourcery.com
Tue Jan 23 08:49:00 GMT 2007
Jerry DeLisle wrote:
> The attached patch developed by Paul Thomas adds a check for assumed size
> character variables in namelist and issues an error.
>
> I have reviewed and regression tested with make -k check-fortran on
> x86-64-linux-gnu.
>
> I plan to commit this for Paul within a day or so to trunk and then to 4.2 in a
> few more days.
I seem to recall a discussion of this on comp.lang.fortran recently,
where it was mentioned that this restriction was a F95 thing that was
relaxed in F2003. Unfortunately, I can't seem to find the comment
again, but it looks to me like the language in the standard does relax
the restriction.
If that's true, I'd suggest that this should be a -std=f95 thing, not an
absolute error.
- Brooks
More information about the Fortran
mailing list