From: Giovanni Bajo Date: Mon, 30 Jun 2003 17:05:43 +0000 (+0200) Subject: re PR c++/11106 (Error message gives partially mangled operator name) X-Git-Tag: releases/gcc-3.4.0~5315 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37198bc85c87c142a44ff089ccb26fcfc0559ddb;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fe79719bfef5..9d84c82274c2 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 c1332b765ff2..c687299d32f4 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: