diff options
author | Zack Weinberg <zack@codesourcery.com> | 2002-07-19 23:11:19 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-07-19 23:11:19 +0000 |
commit | 0dc36574afc7846defc8751c3e19e4c994e0de4a (patch) | |
tree | 4677dbe754062a2b5c3b9130edc8bd83740a6f96 /gcc/print-rtl.c | |
parent | 59267987dbc7bc330557f4fdfdb574fc797f6c84 (diff) | |
download | gcc-0dc36574afc7846defc8751c3e19e4c994e0de4a.zip gcc-0dc36574afc7846defc8751c3e19e4c994e0de4a.tar.gz gcc-0dc36574afc7846defc8751c3e19e4c994e0de4a.tar.bz2 |
rtl.def (CODE_LABEL): Remove slot 8.
* 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.
From-SVN: r55597
Diffstat (limited to 'gcc/print-rtl.c')
-rw-r--r-- | gcc/print-rtl.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/print-rtl.c b/gcc/print-rtl.c index a6fedf6..15538052 100644 --- a/gcc/print-rtl.c +++ b/gcc/print-rtl.c @@ -526,9 +526,14 @@ print_rtx (in_rtx) case CODE_LABEL: fprintf (outfile, " [%d uses]", LABEL_NUSES (in_rtx)); - if (LABEL_ALTERNATE_NAME (in_rtx)) - fprintf (outfile, " [alternate name: %s]", - LABEL_ALTERNATE_NAME (in_rtx)); + switch (LABEL_KIND (in_rtx)) + { + case LABEL_NORMAL: break; + case LABEL_STATIC_ENTRY: fputs (" [entry]", outfile); break; + case LABEL_GLOBAL_ENTRY: fputs (" [global entry]", outfile); break; + case LABEL_WEAK_ENTRY: fputs (" [weak entry]", outfile); break; + default: abort(); + } break; case CALL_PLACEHOLDER: |