This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/41683] [4.5 Regression] F2003 Repeat specification after P descriptor rejected
- 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: 12 Oct 2009 13:39:44 -0000
- Subject: [Bug libfortran/41683] [4.5 Regression] F2003 Repeat specification after P descriptor rejected
- References: <bug-41683-10743@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2009-10-12 13:39 -------
Possible patch untested:
Index: io/format.c
===================================================================
--- io/format.c (revision 152657)
+++ io/format.c (working copy)
@@ -706,7 +706,8 @@
goto data_desc;
}
- if (t != FMT_COMMA && t != FMT_RPAREN && t != FMT_SLASH)
+ if (t != FMT_COMMA && t != FMT_RPAREN && t != FMT_SLASH
+ && t != FMT_POSINT)
{
fmt->error = "Comma required after P descriptor";
goto finished;
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-10-12 13:39:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41683