projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7817b2b
)
Display LABEL_NUSES when printing a code label
author
Nick Clifton
<nickc@cygnus.com>
Fri, 23 Apr 1999 09:44:28 +0000
(09:44 +0000)
committer
Nick Clifton
<nickc@gcc.gnu.org>
Fri, 23 Apr 1999 09:44:28 +0000
(09:44 +0000)
From-SVN: r26600
gcc/ChangeLog
patch
|
blob
|
history
gcc/print-rtl.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 573bfb1407e1272d806c4765838bcb24bcf4dcd1..412b22d452ac84439f4dcf53baf6d8f1aa917646 100644
(file)
--- 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 a94ce0a0bce650c69fa73d4295816ea5e1b308bd..e097aadfe482e5b87606b46e6ab708af4e31d0d2 100644
(file)
--- 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))