public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch, fortran, committed] Show binding label on dump
@ 2017-07-24 10:39 Thomas Koenig
  0 siblings, 0 replies; only message in thread
From: Thomas Koenig @ 2017-07-24 10:39 UTC (permalink / raw)
  To: fortran, gcc-patches

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

Hello world,

I have just committed the attached patch as obvious and simple
after testing.

Regards

	Thomas

2017-07-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

	* dump-parse-tree.c (show_symbol):  Show binding label if present.

[-- Attachment #2: p1.diff --]
[-- Type: text/x-patch, Size: 389 bytes --]

Index: dump-parse-tree.c
===================================================================
--- dump-parse-tree.c   (Revision 249936)
+++ dump-parse-tree.c   (Arbeitskopie)
@@ -857,6 +857,9 @@
   for (i=len; i<12; i++)
     fputc(' ', dumpfile);
 
+  if (sym->binding_label)
+      fprintf (dumpfile,"|| binding_label: '%s' ", sym->binding_label);
+
   ++show_level;
 
   show_indent ();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-24 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-24 10:39 [patch, fortran, committed] Show binding label on dump Thomas Koenig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).