aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Bajo <giovannibajo@libero.it>2003-06-30 19:05:43 +0200
committerWolfgang Bangerth <bangerth@gcc.gnu.org>2003-06-30 11:05:43 -0600
commit37198bc85c87c142a44ff089ccb26fcfc0559ddb (patch)
tree7b66ccf6000fcc814c07cb9dde6c3f1f113dfa88
parentb10d2c9d46962f1f0a56d102721756e1a4452c4e (diff)
downloadgcc-37198bc85c87c142a44ff089ccb26fcfc0559ddb.zip
gcc-37198bc85c87c142a44ff089ccb26fcfc0559ddb.tar.gz
gcc-37198bc85c87c142a44ff089ccb26fcfc0559ddb.tar.bz2
re PR c++/11106 (Error message gives partially mangled operator name)
2003-06-10 Giovanni Bajo <giovannibajo@libero.it> 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
-rw-r--r--gcc/cp/ChangeLog6
-rw-r--r--gcc/cp/error.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index fe79719..9d84c82 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,9 @@
+2003-06-30 Giovanni Bajo <giovannibajo@libero.it>
+
+ 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 <gdr@integrable-solutions.net>
* cp-tree.h (language_to_string): Adjust declaration.
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index c1332b7..c687299 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: