From 75c437de067abd0f1c95aff9d86e73505f7e00f5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 23 Apr 1999 09:44:28 +0000 Subject: [PATCH] Display LABEL_NUSES when printing a code label From-SVN: r26600 --- gcc/ChangeLog | 4 ++++ gcc/print-rtl.c | 3 +++ 2 files changed, 7 insertions(+) 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 + + * print-rtl.c (print_rtx): Display LABEL_NUSES for labels. + Thu Apr 22 23:08:37 1999 Mark Mitchell * 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)) -- 2.30.2