This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/28039] Warn when ignoring extra characters in the format specification
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Apr 2010 02:03:32 -0000
- Subject: [Bug fortran/28039] Warn when ignoring extra characters in the format specification
- References: <bug-28039-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from jvdelisle at gcc dot gnu dot org 2010-04-09 02:03 -------
Subject: Bug 28039
Author: jvdelisle
Date: Fri Apr 9 02:03:10 2010
New Revision: 158147
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158147
Log:
2010-04-08 Bud Davis <bdavis9659@sbcglobal.net>
PR fortran/28039
* io.c (check_format_string): Added check for additional non
blank characters after the format string was successfully
parsed.
* io.c (check_format): Changed the error messages for positive
int required and period required to drop through the error logic
and report with gfc_error instead of gfc_error_now. Corrected
format postion for hollerith strings.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/io.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28039