Commit 700b62cc by Thomas Koenig

re PR fortran/83803 (Using -fc-prototypes on modules with empty dummy arg lists…

re PR fortran/83803 (Using -fc-prototypes on modules with empty dummy arg lists does not close paren.)

2018-01-13  Thomas Koenig <tkoenig@gcc.gnu.org>
	<emsr@gcc.gnu.org>

	PR fortran/83803
	* dump-parse-tree.c (write_proc): Always emit closing parenthesis
	for functions.

From-SVN: r256606
parent e8b078f5
2018-01-13 Thomas Koenig <tkoenig@gcc.gnu.org>
<emsr@gcc.gnu.org>
PR fortran/83803
* dump-parse-tree.c (write_proc): Always emit closing parenthesis
for functions.
2018-01-10 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/82367
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment