From: Geoffrey Keating Date: Sat, 11 Sep 2004 05:03:14 +0000 (+0000) Subject: tree-pretty-print.c (dump_decl_name): Print unnamed decls as D.xxx rather than . X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70601cc243b361146a24149bf50145b86dc55dbe;p=gcc.git tree-pretty-print.c (dump_decl_name): Print unnamed decls as D.xxx rather than . * tree-pretty-print.c (dump_decl_name): Print unnamed decls as D.xxx rather than . From-SVN: r87344 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3ff2a25b031..8b19ac63b0f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-09-10 Geoffrey Keating + + * tree-pretty-print.c (dump_decl_name): Print unnamed decls as + D.xxx rather than . + 2004-09-10 Adam Nemet * configure.ac (AC_MSG_CHECKING(what linker to use)): diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index af3a0294626..5aa174369bb 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -162,12 +162,12 @@ dump_decl_name (pretty_printer *buffer, tree node, int flags) { if (TREE_CODE (node) == LABEL_DECL && LABEL_DECL_UID (node) != -1) - pp_printf (buffer, "", + pp_printf (buffer, "L." HOST_WIDE_INT_PRINT_DEC, LABEL_DECL_UID (node)); else { char c = TREE_CODE (node) == CONST_DECL ? 'C' : 'D'; - pp_printf (buffer, "<%c%u>", c, DECL_UID (node)); + pp_printf (buffer, "%c.%u", c, DECL_UID (node)); } } }