c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier to print a IDENTIFIER_NODE.
authorRichard Guenther <rguenther@suse.de>
Fri, 10 Jun 2011 08:37:57 +0000 (08:37 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 10 Jun 2011 08:37:57 +0000 (08:37 +0000)
2011-06-10  Richard Guenther  <rguenther@suse.de>

c-family/
* c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
to print a IDENTIFIER_NODE.

From-SVN: r174892

gcc/c-family/ChangeLog
gcc/c-family/c-pretty-print.c

index 733d77152d40a22b311ad04798f0f6618cd34870..7a6e7fa5676b978dd6c60a5d4456e229579c82b5 100644 (file)
@@ -1,3 +1,8 @@
+2011-06-10  Richard Guenther  <rguenther@suse.de>
+
+       * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier
+       to print a IDENTIFIER_NODE.
+
 2011-06-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
            Joseph Myers  <joseph@codesourcery.com>
 
index 1be3dd4749448c031aec8c463088050526798ddd..977f79ed7df2571428d7301b073c81bb19434c21 100644 (file)
@@ -345,7 +345,7 @@ pp_c_type_specifier (c_pretty_printer *pp, tree t)
       break;
 
     case IDENTIFIER_NODE:
-      pp_c_tree_decl_identifier (pp, t);
+      pp_c_identifier (pp, IDENTIFIER_POINTER (t));
       break;
 
     case VOID_TYPE: