From 37198bc85c87c142a44ff089ccb26fcfc0559ddb Mon Sep 17 00:00:00 2001 From: Giovanni Bajo Date: Mon, 30 Jun 2003 19:05:43 +0200 Subject: [PATCH] re PR c++/11106 (Error message gives partially mangled operator name) 2003-06-10 Giovanni Bajo PR c++/11106 * error.c (dump_decl): Call dump_decl to dump the DECL_NAME for a USING_DECL, instead of print_tree_identifier. From-SVN: r68711 --- gcc/cp/ChangeLog | 6 ++++++ gcc/cp/error.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fe79719bfef..9d84c82274c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2003-06-30 Giovanni Bajo + + PR c++/11106 + * error.c (dump_decl): Call dump_decl to dump the DECL_NAME for a + USING_DECL, instead of print_tree_identifier. + 2003-06-29 Gabriel Dos Reis * cp-tree.h (language_to_string): Adjust declaration. diff --git a/gcc/cp/error.c b/gcc/cp/error.c index c1332b765ff..c687299d32f 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -974,7 +974,7 @@ dump_decl (tree t, int flags) output_add_string (scratch_buffer, "using "); dump_type (DECL_INITIAL (t), flags); print_scope_operator (scratch_buffer); - print_tree_identifier (scratch_buffer, DECL_NAME (t)); + dump_decl (DECL_NAME (t), flags); break; case BASELINK: -- 2.11.4.GIT