Patchwork [committed] Show character kinds in -fdump-fortran-*

login
register
mail settings
Submitter Thomas Koenig
Date Dec. 27, 2010, 3:35 p.m.
Message ID <1293464116.3714.1.camel@linux-fd1f.site>
Download mbox | patch
Permalink /patch/76793/
State New
Headers show

Comments

Thomas Koenig - Dec. 27, 2010, 3:35 p.m.
Hello world,

committed as obvious as rev 168276, after reg-testing.

	Thomas

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

	* dump-parse-tree.c (show_typespec):  Also show character kind.

Patch

Index: dump-parse-tree.c
===================================================================
--- dump-parse-tree.c	(Revision 168201)
+++ dump-parse-tree.c	(Arbeitskopie)
@@ -105,6 +105,7 @@  show_typespec (gfc_typespec *ts)
 
     case BT_CHARACTER:
       show_expr (ts->u.cl->length);
+      fprintf(dumpfile, " %d", ts->kind);
       break;
 
     default: