This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch, fortran, committed] Show ALLOCATABLE in components in dumps


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.

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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]