------- Comment #1 from burnus at gcc dot gnu dot org  2009-08-24 13:45 -------
> With r151053 I get an error when I compile the following line:
> 2000 format (1X,1P,E14.6,3E12.4,0P)
>                                    1
> Error: Comma required after P descriptor in format string at (1)

That looks like a bug: There is surely no comma required at the end of the
format/before a ')'. Seemingly, we missed that special case. The check is
correct for fmt strings such as  '(1P2E12.4)'.

However, I cannot reproduce the problem with a program consisting only of:

2000 format (1X,1P,E14.6,3E12.4,0P)
end

In PR 41152, it was also depending on other lines. Can you re-check?


> This was certainly introduced by Jerry's r151045.

See also PR 35754.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41154

Reply via email to