dump-parse-tree.c (show_symbol): Don't dump namespace for ENTRY to avoid infinite recursion.

2011-06-05  Andreas Schmidt  <andreas.schmidt.42@gmx.net>
	Thomas Koenig  <tkoenig@gcc.gnu.org>

	* dump-parse-tree.c (show_symbol):  Don't dump namespace
	for ENTRY to avoid infinite recursion.


Co-Authored-By: Thomas Koenig <tkoenig@gcc.gnu.org>

From-SVN: r174659
This commit is contained in:
Andreas Schmidt 2011-06-05 18:48:11 +00:00 committed by Thomas Koenig
parent 67f8f44952
commit 142f5e4acd
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-06-05 Andreas Schmidt <andreas.schmidt.42@gmx.net>
Thomas Koenig <tkoenig@gcc.gnu.org>
* dump-parse-tree.c (show_symbol): Don't dump namespace
for ENTRY to avoid infinite recursion.
2011-06-02 Asher Langton <langton2@llnl.gov>
PR fortran/49268
@ -16,7 +22,7 @@
procedure statement.
* parse.c ( decode_statement): Deal with whitespace around :: in
gfc_match_modproc.
2011-05-31 Tobias Burnus <burnus@net-b.de>
PR fortran/18918

View File

@ -893,7 +893,8 @@ show_symbol (gfc_symbol *sym)
}
if (sym->formal_ns && (sym->formal_ns->proc_name != sym)
&& sym->attr.proc != PROC_ST_FUNCTION)
&& sym->attr.proc != PROC_ST_FUNCTION
&& !sym->attr.entry)
{
show_indent ();
fputs ("Formal namespace", dumpfile);