From 0511ddbb337da0007678136582a39fc769e140ab Mon Sep 17 00:00:00 2001 From: "Steven G. Kargl" Date: Thu, 14 May 2009 22:21:40 +0000 Subject: [PATCH] dump-parse-tree.c (show_code_node): Add ERRMSG to the dumping of allocate and deallocate statements. 2009-05-14 Steven G. Kargl * dump-parse-tree.c (show_code_node): Add ERRMSG to the dumping of allocate and deallocate statements. From-SVN: r147545 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/dump-parse-tree.c | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 587123937b7d..5b963a1d5326 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2009-05-14 Steven G. Kargl + + * dump-parse-tree.c (show_code_node): Add ERRMSG to the dumping + of allocate and deallocate statements. + 2009-05-14 Ian Lance Taylor * decl.c (match_attr_spec): Change d to unsigned int. diff --git a/gcc/fortran/dump-parse-tree.c b/gcc/fortran/dump-parse-tree.c index 26a8e08a649d..f6de8e824bc3 100644 --- a/gcc/fortran/dump-parse-tree.c +++ b/gcc/fortran/dump-parse-tree.c @@ -1420,6 +1420,12 @@ show_code_node (int level, gfc_code *c) show_expr (c->expr1); } + if (c->expr2) + { + fputs (" ERRMSG=", dumpfile); + show_expr (c->expr2); + } + for (a = c->ext.alloc_list; a; a = a->next) { fputc (' ', dumpfile); @@ -1436,6 +1442,12 @@ show_code_node (int level, gfc_code *c) show_expr (c->expr1); } + if (c->expr2) + { + fputs (" ERRMSG=", dumpfile); + show_expr (c->expr2); + } + for (a = c->ext.alloc_list; a; a = a->next) { fputc (' ', dumpfile); -- 2.43.5