* [patch, fortran, committed] Fix PR 83803
@ 2018-01-13 13:29 Thomas Koenig
0 siblings, 0 replies; only message in thread
From: Thomas Koenig @ 2018-01-13 13:29 UTC (permalink / raw)
To: fortran, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
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_
[-- Attachment #2: p1.diff --]
[-- Type: text/x-patch, Size: 475 bytes --]
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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-13 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-13 13:29 [patch, fortran, committed] Fix PR 83803 Thomas Koenig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).