diff options
| author | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-14 22:21:40 +0000 |
|---|---|---|
| committer | kargl <kargl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-05-14 22:21:40 +0000 |
| commit | ab1f213d2022fcc1b0a7b4ead4ee332054078acb (patch) | |
| tree | 26a7ad57c404aa27a6e6ee6756f285a13f643793 | |
| parent | 9f1b7d176d94248a038837eb30ff6f1a2b176e3a (diff) | |
| download | ppe42-gcc-ab1f213d2022fcc1b0a7b4ead4ee332054078acb.tar.gz ppe42-gcc-ab1f213d2022fcc1b0a7b4ead4ee332054078acb.zip | |
2009-05-14 Steven G. Kargl <kargl@gcc.gnu.org>
* dump-parse-tree.c (show_code_node): Add ERRMSG to the dumping
of allocate and deallocate statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147545 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/fortran/dump-parse-tree.c | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 587123937b7..5b963a1d532 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2009-05-14 Steven G. Kargl <kargl@gcc.gnu.org> + + * dump-parse-tree.c (show_code_node): Add ERRMSG to the dumping + of allocate and deallocate statements. + 2009-05-14 Ian Lance Taylor <iant@google.com> * 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 26a8e08a649..f6de8e824bc 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); |

