aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>1999-04-23 09:44:28 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-04-23 09:44:28 +0000
commit75c437de067abd0f1c95aff9d86e73505f7e00f5 (patch)
treec5a5f630a8a45837c59a4bf32e55973c5cd4f1e6 /gcc/print-rtl.c
parent7817b2b32726c546fbd3fe7d64c7a878afd5c11d (diff)
downloadgcc-75c437de067abd0f1c95aff9d86e73505f7e00f5.zip
gcc-75c437de067abd0f1c95aff9d86e73505f7e00f5.tar.gz
gcc-75c437de067abd0f1c95aff9d86e73505f7e00f5.tar.bz2
Display LABEL_NUSES when printing a code label
From-SVN: r26600
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index a94ce0a..e097aad 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))