summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/print-rtl.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 573bfb1407e..412b22d452a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index a94ce0a0bce..e097aadfe48 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -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))