From: Jason Merrill Date: Wed, 2 Sep 2009 15:48:44 +0000 (-0400) Subject: * ptree.c (cxx_print_type) [DECLTYPE_TYPE]: Print the expression. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=301ea0943188c469a2c9b567dedb0f7f64d7d826;p=gcc.git * ptree.c (cxx_print_type) [DECLTYPE_TYPE]: Print the expression. From-SVN: r151334 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2a88d6347b4..d4745c370c6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2009-09-01 Jason Merrill + + * ptree.c (cxx_print_type) [DECLTYPE_TYPE]: Print the expression. + 2009-09-01 Alexandre Oliva * cp-tree.h (TFF_NO_OMIT_DEFAULT_TEMPLATE_ARGUMENTS): New. diff --git a/gcc/cp/ptree.c b/gcc/cp/ptree.c index 69279cd4883..a1fa71ffe22 100644 --- a/gcc/cp/ptree.c +++ b/gcc/cp/ptree.c @@ -95,6 +95,10 @@ cxx_print_type (FILE *file, tree node, int indent) case UNION_TYPE: break; + case DECLTYPE_TYPE: + print_node (file, "expr", DECLTYPE_TYPE_EXPR (node), indent + 4); + return; + default: return; }