------- 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

Reply via email to