This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] PR30481 Accepts namelist-group object with assumed character length
- From: Brooks Moses <brooks dot moses at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: fortran at gcc dot gnu dot org
- Date: Tue, 23 Jan 2007 00:15:25 -0800
- Subject: Re: [patch, fortran] PR30481 Accepts namelist-group object with assumed character length
- References: <45B578BF.2090406@verizon.net>
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