diff mbox

[fortran,committed] Show ALLOCATABLE in components in dumps

Message ID 1293658517.7204.2.camel@linux-fd1f.site
State New
Headers show

Commit Message

Thomas Koenig Dec. 29, 2010, 9:35 p.m. UTC
Hello world,

a really obvious patch, applied as revision 168324.

	Thomas

2010-12-29  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* dump_parse_tree.c (show_components):  Show
	ALLOCATABLE.
diff mbox

Patch

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)