OSDN Git Service

2003-06-10 Giovanni Bajo <giovannibajo@libero.it>
authorbangerth <bangerth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Jun 2003 17:05:43 +0000 (17:05 +0000)
committerbangerth <bangerth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Jun 2003 17:05:43 +0000 (17:05 +0000)
        PR c++/11106
        * error.c (dump_decl): Call dump_decl to dump the DECL_NAME for a
        USING_DECL, instead of print_tree_identifier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68711 138bc75d-0d04-0410-961f-82ee72b054a4

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

index fe79719..9d84c82 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 c1332b7..c687299 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: