+2009-05-14 Daniel Kraft <d@domob.eu>
+
+ PR fortran/40045
+ * dump-parse-tree.c (show_typebound): Fix missing adaption to new
+ type-bound procedure storage structure.
+
2009-05-14 Janus Weil <janus@gcc.gnu.org>
PR fortran/39996
static void
show_typebound (gfc_symtree* st)
{
- if (!st->n.tb)
- return;
-
+ gcc_assert (st->n.tb);
show_indent ();
if (st->n.tb->is_generic)
else
fputs (", PRIVATE", dumpfile);
- fprintf (dumpfile, " :: %s => ", st->n.sym->name);
+ fprintf (dumpfile, " :: %s => ", st->name);
if (st->n.tb->is_generic)
{
}
/* Type-bound procedures. */
- gfc_traverse_symtree (f2k->sym_root, &show_typebound);
+ gfc_traverse_symtree (f2k->tb_sym_root, &show_typebound);
--show_level;
}