diff options
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 a6fedf6d3a6..15538052c18 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: |