summaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-11 05:03:14 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-11 05:03:14 +0000
commit4b118bc6e3c8fe0b426dcf517fc3f8b2e0878df7 (patch)
tree7f412612473fd6ea154232a4bdc2c0a07e9be1af /gcc/tree-pretty-print.c
parent092f763e36d37879a32bbc4e2c32a7a0c408d3bb (diff)
downloadgcc-4b118bc6e3c8fe0b426dcf517fc3f8b2e0878df7.tar.gz
* tree-pretty-print.c (dump_decl_name): Print unnamed decls as
D.xxx rather than <Dxxx>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87344 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c4
1 files changed, 2 insertions, 2 deletions
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, "<L" HOST_WIDE_INT_PRINT_DEC ">",
+ 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));
}
}
}