Commit b51789fe by Janus Weil

re PR fortran/44430 (Infinite recursion with -fdump-parse-tree)

2010-06-09  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/44430
	* dump-parse-tree.c (show_symbol): Avoid infinite loop.

From-SVN: r160504
parent 87b18909
2010-06-09 Janus Weil <janus@gcc.gnu.org>
PR fortran/44430
* dump-parse-tree.c (show_symbol): Avoid infinite loop.
2010-06-09 Steven G. Kargl <kargl@gcc.gnu.org>
* fortran/symbol.c (check_conflict): Remove an invalid conflict check.
......
......@@ -853,7 +853,7 @@ show_symbol (gfc_symbol *sym)
}
}
if (sym->formal_ns)
if (sym->formal_ns && (sym->formal_ns->proc_name != sym))
{
show_indent ();
fputs ("Formal namespace", 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