tree-pretty-print.c (dump_generic_node): Print label DECL_UID as D.%u.
authorRichard Guenther <rguenther@suse.de>
Wed, 29 Aug 2007 14:16:15 +0000 (14:16 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 29 Aug 2007 14:16:15 +0000 (14:16 +0000)
2007-08-29  Richard Guenther  <rguenther@suse.de>

* tree-pretty-print.c (dump_generic_node): Print
label DECL_UID as D.%u.
* tree-dfa.c (dump_variable): Print DECL_UID as D.%u.

From-SVN: r127899

gcc/ChangeLog
gcc/tree-dfa.c
gcc/tree-pretty-print.c

index c649ee2..e9f24b4 100644 (file)
@@ -1,3 +1,9 @@
+2007-08-29  Richard Guenther  <rguenther@suse.de>
+
+       * tree-pretty-print.c (dump_generic_node): Print
+       label DECL_UID as D.%u.
+       * tree-dfa.c (dump_variable): Print DECL_UID as D.%u.
+
 2007-08-29  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
 
        * gcc/builtin-types.def (BT_FN_PTR_PTR_SIZE): New type.
index 7832b68..e6b593e 100644 (file)
@@ -325,7 +325,7 @@ dump_variable (FILE *file, tree var)
 
   ann = var_ann (var);
 
-  fprintf (file, ", UID %u", (unsigned) DECL_UID (var));
+  fprintf (file, ", UID D.%u", (unsigned) DECL_UID (var));
 
   fprintf (file, ", ");
   print_generic_expr (file, TREE_TYPE (var), dump_flags);
index 265a56a..738fb09 100644 (file)
@@ -863,7 +863,7 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
         pp_printf (buffer, "<L" HOST_WIDE_INT_PRINT_DEC ">",
                   LABEL_DECL_UID (node));
       else
-        pp_printf (buffer, "<D%u>", DECL_UID (node));
+        pp_printf (buffer, "<D.%u>", DECL_UID (node));
       break;
 
     case TYPE_DECL: