diff options
author | Nick Clifton <nickc@cygnus.com> | 1999-04-23 09:44:28 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1999-04-23 09:44:28 +0000 |
commit | 75c437de067abd0f1c95aff9d86e73505f7e00f5 (patch) | |
tree | c5a5f630a8a45837c59a4bf32e55973c5cd4f1e6 /gcc | |
parent | 7817b2b32726c546fbd3fe7d64c7a878afd5c11d (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/print-rtl.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 573bfb1..412b22d 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 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)) |