From patchwork Wed Dec 29 21:35:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [fortran,committed] Show ALLOCATABLE in components in dumps Date: Wed, 29 Dec 2010 11:35:17 -0000 From: Thomas Koenig X-Patchwork-Id: 76949 Message-Id: <1293658517.7204.2.camel@linux-fd1f.site> To: fortran@gcc.gnu.org Cc: gcc-patches@gcc.gnu.org Hello world, a really obvious patch, applied as revision 168324. Thomas 2010-12-29 Thomas Koenig * dump_parse_tree.c (show_components): Show ALLOCATABLE. Index: dump-parse-tree.c =================================================================== --- dump-parse-tree.c (Revision 168276) +++ dump-parse-tree.c (Arbeitskopie) @@ -694,6 +694,8 @@ show_components (gfc_symbol *sym) { fprintf (dumpfile, "(%s ", c->name); show_typespec (&c->ts); + if (c->attr.allocatable) + fputs (" ALLOCATABLE", dumpfile); if (c->attr.pointer) fputs (" POINTER", dumpfile); if (c->attr.proc_pointer)