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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c
index 0de2a0f..e981726 100644
--- a/gcc/fortran/dump-parse-tree.c
+++ b/gcc/fortran/dump-parse-tree.c
@@ -3227,7 +3227,7 @@ write_proc (gfc_symbol *sym)
fputs (sym_name, dumpfile);
}
else
- write_decl (&(sym->ts), sym->as, sym->name, true, &sym->declared_at);
+ write_decl (&(sym->ts), sym->as, sym_name, true, &sym->declared_at);
fputs (" (", dumpfile);