]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR c++/11106 (Error message gives partially mangled operator name)
authorGiovanni Bajo <giovannibajo@libero.it>
Mon, 30 Jun 2003 17:05:43 +0000 (19:05 +0200)
committerWolfgang Bangerth <bangerth@gcc.gnu.org>
Mon, 30 Jun 2003 17:05:43 +0000 (11:05 -0600)
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

gcc/cp/ChangeLog
gcc/cp/error.c

index fe79719bfef50bc1680ef3bf6026c99f7fa74a58..9d84c82274c2e8d4b3ec6371a68b2b151ca9b974 100644 (file)
@@ -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.
index c1332b765ff24648e2b59757c7d157f1776cd3a5..c687299d32f4c90d97d6bef6de6b361c3dcdb741 100644 (file)
@@ -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: