aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2011-06-10 08:37:57 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2011-06-10 08:37:57 +0000
commitd7fc8c140e52db6816b9a60e9d653ec19bd26de6 (patch)
treedf4ac4de3e53b9c6bdc7e5a7196cd2025c2ecd13 /gcc/c-family
parentf2164f876fb482f4971160cd900a63217bd07b87 (diff)
downloadgcc-d7fc8c140e52db6816b9a60e9d653ec19bd26de6.zip
gcc-d7fc8c140e52db6816b9a60e9d653ec19bd26de6.tar.gz
gcc-d7fc8c140e52db6816b9a60e9d653ec19bd26de6.tar.bz2
c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier to print a IDENTIFIER_NODE.
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
Diffstat (limited to 'gcc/c-family')
-rw-r--r--gcc/c-family/ChangeLog5
-rw-r--r--gcc/c-family/c-pretty-print.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 733d771..7a6e7fa 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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>
diff --git a/gcc/c-family/c-pretty-print.c b/gcc/c-family/c-pretty-print.c
index 1be3dd47..977f79e 100644
--- a/gcc/c-family/c-pretty-print.c
+++ b/gcc/c-family/c-pretty-print.c
@@ -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: