This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [patch, fortran] PR37446 Diagnostic of edit descriptors, esp. EN
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- To: fortran at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 22 Aug 2009 14:17:27 -0700
- Subject: Re: [patch, fortran] PR37446 Diagnostic of edit descriptors, esp. EN
- References: <4A90563E.8000701@verizon.net>
Jerry DeLisle wrote:
Greetings,
The attached patch greatly improves the diagnostics for D, G, E, EN, ES
format specifiers. I added a simple helper function to convert the
token to a string that can be used in error messages.
I also found that we were completely missing a check for the required
format width. This is now added in with the patch. The overall error
locus was improved by the patch to 41075.
Regression tested on X86-64 Linux. Test case attached.
OK for trunk.
Regards,
Jerry
Corrected the subject of the email. The correct PR number is PR37446.
Jerry