From 70601cc243b361146a24149bf50145b86dc55dbe Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Sat, 11 Sep 2004 05:03:14 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/tree-pretty-print.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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)); } } } -- 2.30.2