aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/dump-parse-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/dump-parse-tree.c')
-rw-r--r--gcc/fortran/dump-parse-tree.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c
index 8480e40..32ff298 100644
--- a/gcc/fortran/dump-parse-tree.c
+++ b/gcc/fortran/dump-parse-tree.c
@@ -825,7 +825,12 @@ show_symbol (gfc_symbol *sym)
}
if (sym->f2k_derived)
- show_f2k_derived (sym->f2k_derived);
+ {
+ show_indent ();
+ if (sym->vindex)
+ fprintf (dumpfile, "vindex: %d", sym->vindex);
+ show_f2k_derived (sym->f2k_derived);
+ }
if (sym->formal)
{
@@ -1448,7 +1453,7 @@ show_code_node (int level, gfc_code *c)
show_expr (c->expr2);
}
- for (a = c->ext.alloc_list; a; a = a->next)
+ for (a = c->ext.alloc.list; a; a = a->next)
{
fputc (' ', dumpfile);
show_expr (a->expr);
@@ -1470,7 +1475,7 @@ show_code_node (int level, gfc_code *c)
show_expr (c->expr2);
}
- for (a = c->ext.alloc_list; a; a = a->next)
+ for (a = c->ext.alloc.list; a; a = a->next)
{
fputc (' ', dumpfile);
show_expr (a->expr);