This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, fortran, committed] Fix PR 83803


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);
 }
 
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]