------- Comment #6 from janus at gcc dot gnu dot org 2010-06-06 21:45 ------- A simple way to fix this:
Index: gcc/fortran/dump-parse-tree.c =================================================================== --- gcc/fortran/dump-parse-tree.c (revision 160347) +++ gcc/fortran/dump-parse-tree.c (working copy) @@ -853,7 +853,7 @@ show_symbol (gfc_symbol *sym) } } - if (sym->formal_ns) + if (sym->formal_ns && (sym->formal_ns != sym->ns)) { show_indent (); fputs ("Formal namespace", dumpfile); I'm not 100% sure yet if this is the *proper* way, but I'll try to find out. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44430