Display LABEL_NUSES when printing a code label
authorNick Clifton <nickc@cygnus.com>
Fri, 23 Apr 1999 09:44:28 +0000 (09:44 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Fri, 23 Apr 1999 09:44:28 +0000 (09:44 +0000)
From-SVN: r26600

gcc/ChangeLog
gcc/print-rtl.c

index 573bfb1407e1272d806c4765838bcb24bcf4dcd1..412b22d452ac84439f4dcf53baf6d8f1aa917646 100644 (file)
@@ -1,3 +1,7 @@
+Fri Apr 23 09:43:18 1999  Nick Clifton  <nickc@cygnus.com>
+
+       * print-rtl.c (print_rtx): Display LABEL_NUSES for labels.
+
 Thu Apr 22 23:08:37 1999  Mark Mitchell  <mark@codesourcery.com>
 
        * toplev.h (wrapup_global_declarations): Declare.
index a94ce0a0bce650c69fa73d4295816ea5e1b308bd..e097aadfe482e5b87606b46e6ab708af4e31d0d2 100644 (file)
@@ -318,6 +318,9 @@ print_rtx (in_rtx)
     }
 #endif
 
+  if (GET_CODE (in_rtx) == CODE_LABEL)
+    fprintf (outfile, " [num uses: %d]", LABEL_NUSES (in_rtx));
+  
   if (dump_for_graph
       && (is_insn || GET_CODE (in_rtx) == NOTE
          || GET_CODE (in_rtx) == CODE_LABEL || GET_CODE (in_rtx) == BARRIER))