summaryrefslogtreecommitdiff
path: root/gcc/ra-debug.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-19 23:11:19 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-19 23:11:19 +0000
commita7ae1e597777179c8b1545a3b56518781f1de909 (patch)
tree4677dbe754062a2b5c3b9130edc8bd83740a6f96 /gcc/ra-debug.c
parent6cba0fa750068bdf0925bc3213dc8f25446607f8 (diff)
downloadgcc-a7ae1e597777179c8b1545a3b56518781f1de909.tar.gz
* rtl.def (CODE_LABEL): Remove slot 8.
* rtl.h (struct rtx_def): Document new uses of jump and call fields. (LABEL_ALTERNATE_NAME): Delete. (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New. * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME. * final.c (output_alternate_entry_point): New. (final_scan_insn): Use it instead of ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility of a case label being an alternate entry point. * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P. * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL. Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME (field deleted). * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs. * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME. * doc/tm.texi: Delete documentation of ASM_OUTPUT_ALTERNATE_LABEL_NAME. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55597 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ra-debug.c')
-rw-r--r--gcc/ra-debug.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ra-debug.c b/gcc/ra-debug.c
index 239778a240b..fd8c8d4bb5b 100644
--- a/gcc/ra-debug.c
+++ b/gcc/ra-debug.c
@@ -381,8 +381,14 @@ ra_print_rtx (file, x, with_pn)
fprintf (file, "L%d:\t; ", CODE_LABEL_NUMBER (x));
if (LABEL_NAME (x))
fprintf (file, "(%s) ", LABEL_NAME (x));
- if (LABEL_ALTERNATE_NAME (x))
- fprintf (file, "(alternate: %s) ", LABEL_ALTERNATE_NAME (x));
+ switch (LABEL_KIND (x))
+ {
+ case LABEL_NORMAL: break;
+ case LABEL_STATIC_ENTRY: fputs (" (entry)", file); break;
+ case LABEL_GLOBAL_ENTRY: fputs (" (global entry)", file); break;
+ case LABEL_WEAK_ENTRY: fputs (" (weak entry)", file); break;
+ default: abort();
+ }
fprintf (file, " [%d uses] uid=(", LABEL_NUSES (x));
}
fprintf (file, "%d", INSN_UID (x));