From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4195 invoked by alias); 12 Oct 2009 13:39:55 -0000 Received: (qmail 4150 invoked by uid 48); 12 Oct 2009 13:39:44 -0000 Date: Mon, 12 Oct 2009 13:39:00 -0000 Message-ID: <20091012133944.4149.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/41683] [4.5 Regression] F2003 Repeat specification after P descriptor rejected In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jvdelisle at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-10/txt/msg01023.txt.bz2 ------- 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