dump-parse-tree.c (show_symbol): Show binding label if present.
authorThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 24 Jul 2017 10:36:30 +0000 (10:36 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Mon, 24 Jul 2017 10:36:30 +0000 (10:36 +0000)
2017-07-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

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

From-SVN: r250472

gcc/fortran/ChangeLog
gcc/fortran/dump-parse-tree.c

index 96b445a..613a709 100644 (file)
@@ -1,4 +1,8 @@
 2017-07-24  Thomas Koenig  <tkoenig@gcc.gnu.org>
+
+       * dump-parse-tree.c (show_symbol):  Show binding label if present.
+
+2017-07-24  Thomas Koenig  <tkoenig@gcc.gnu.org>
            Mikael Morin <mikael@gcc.gnu.org>
 
        PR fortran/66102
index 5b692e1..46b3705 100644 (file)
@@ -857,6 +857,9 @@ show_symbol (gfc_symbol *sym)
   for (i=len; i<12; i++)
     fputc(' ', dumpfile);
 
+  if (sym->binding_label)
+      fprintf (dumpfile,"|| binding_label: '%s' ", sym->binding_label);
+
   ++show_level;
 
   show_indent ();