aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>1999-11-03 21:55:51 +0000
committerCatherine Moore <clm@gcc.gnu.org>1999-11-03 16:55:51 -0500
commit8cd0faaf3206d06e32552108f6e66674730d2e7d (patch)
tree32aab0337e74b85506bcda9eeeb36643fbe27d83 /gcc/print-rtl.c
parent1e30f9b4da5c6f2503d459b41e08db56fd7c6174 (diff)
downloadgcc-8cd0faaf3206d06e32552108f6e66674730d2e7d.zip
gcc-8cd0faaf3206d06e32552108f6e66674730d2e7d.tar.gz
gcc-8cd0faaf3206d06e32552108f6e66674730d2e7d.tar.bz2
defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
* defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default. * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME. * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME. * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME. * jump.c (delete_unreferenced_labels): Don't delete if LABEL_ALTERNATE_NAME is set. * print-rtl.c (print_rtx): Dump alternate name. * rtl.def (CODE_LABEL): Change format to "iuuis00s". * rtl.h (LABEL_ALTERNATE_NAME): Define. * rtl.texi (LABEL_ALTERNATE_NAME): Document. * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document. From-SVN: r30382
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r--gcc/print-rtl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c
index 4db28c2..ef8a402 100644
--- a/gcc/print-rtl.c
+++ b/gcc/print-rtl.c
@@ -354,7 +354,11 @@ print_rtx (in_rtx)
#endif
if (GET_CODE (in_rtx) == CODE_LABEL)
- fprintf (outfile, " [num uses: %d]", LABEL_NUSES (in_rtx));
+ {
+ fprintf (outfile, " [num uses: %d]", LABEL_NUSES (in_rtx));
+ if (LABEL_ALTERNATE_NAME (in_rtx))
+ fprintf (outfile, " [alternate name: %s]", LABEL_ALTERNATE_NAME (in_rtx));
+ }
if (dump_for_graph
&& (is_insn || GET_CODE (in_rtx) == NOTE