This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38439] I/O PD edit descriptor inconsistency
- 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 12:42:19 -0000
- Subject: [Bug fortran/38439] I/O PD edit descriptor inconsistency
- References: <bug-38439-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from jvdelisle at gcc dot gnu dot org 2009-10-12 12:42 -------
Interestingly, I removed this previously:
switch (t)
{
- case FMT_P:
- t = format_lex (fmt);
- if (t == FMT_POSINT)
- {
- fmt->error = "Repeat count cannot follow P descriptor";
- goto finished;
- }
-
- fmt->saved_token = t;
- get_fnode (fmt, &head, &tail, FMT_P);
-
- goto optional_comma;
-
It was dead code and wrong. Lets open a new PR.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38439