re PR fortran/44352 (ICE in string_to_single_character)
2010-12-03 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/44352 * dump-parse-tree.c (show_symbol): Don't show formal namespace for statement functions in order to avoid infinite recursion. From-SVN: r167416
This commit is contained in:
parent
753de8cffa
commit
3609dfbf13
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
PR fortran/44352
|
||||
* dump-parse-tree.c (show_symbol): Don't show formal namespace
|
||||
for statement functions in order to avoid infinite recursion.
|
||||
|
||||
2010-12-03 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
PR fortran/45159
|
||||
|
|
|
@ -889,7 +889,8 @@ show_symbol (gfc_symbol *sym)
|
|||
}
|
||||
}
|
||||
|
||||
if (sym->formal_ns && (sym->formal_ns->proc_name != sym))
|
||||
if (sym->formal_ns && (sym->formal_ns->proc_name != sym)
|
||||
&& sym->attr.proc != PROC_ST_FUNCTION)
|
||||
{
|
||||
show_indent ();
|
||||
fputs ("Formal namespace", dumpfile);
|
||||
|
|
Loading…
Add table
Reference in a new issue