dump-parse-tree.c (show_code_node): Add ERRMSG to the dumping of allocate and deallocate statements.

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.

From-SVN: r147545
This commit is contained in:
Steven G. Kargl 2009-05-14 22:21:40 +00:00
parent 09639a8397
commit 0511ddbb33
2 changed files with 17 additions and 0 deletions

View File

@ -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.

View File

@ -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);