From d7fc8c140e52db6816b9a60e9d653ec19bd26de6 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 10 Jun 2011 08:37:57 +0000 Subject: [PATCH] c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier to print a IDENTIFIER_NODE. 2011-06-10 Richard Guenther 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 | 5 +++++ gcc/c-family/c-pretty-print.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 733d77152d4..7a6e7fa5676 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,8 @@ +2011-06-10 Richard Guenther + + * c-pretty-print.c (pp_c_type_specifier): Use pp_c_identifier + to print a IDENTIFIER_NODE. + 2011-06-09 Rainer Orth Joseph Myers diff --git a/gcc/c-family/c-pretty-print.c b/gcc/c-family/c-pretty-print.c index 1be3dd47494..977f79ed7df 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: -- 2.30.2