This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, fortran, committed] Fix PR 83803
- From: Thomas Koenig <tkoenig at netcologne dot de>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 13 Jan 2018 14:29:32 +0100
- Subject: [patch, fortran, committed] Fix PR 83803
- Authentication-results: sourceware.org; auth=none
Hello world,
I have committed the patch below as obvious. This one had
the distinction that two people came up with exactly the
same pach independently :-)
Regards
Thomas
2018-01-13 Thomas Koenig <tkoenig@gcc.gnu.org>
<emsr@gcc.gnu.org>
PR fortran/83803
* dump-parse-tree.c (write_
Index: dump-parse-tree.c
===================================================================
--- dump-parse-tree.c (Revision 256605)
+++ dump-parse-tree.c (Arbeitskopie)
@@ -3194,9 +3194,10 @@ write_proc (gfc_symbol *sym)
if (rok == T_WARN)
fputs(" /* WARNING: non-interoperable KIND */ ", dumpfile);
- fputs (f->next ? ", " : ")", dumpfile);
+ if (f->next)
+ fputs(", ", dumpfile);
}
- fputs (";\n", dumpfile);
+ fputs (");\n", dumpfile);
}