From b1af6b0b782f10cb34fcfbd975a7ac80b9d905a1 Mon Sep 17 00:00:00 2001 From: lerdsuwa Date: Tue, 20 Jul 2004 16:02:13 +0000 Subject: PR c++/16175 * error.c (dump_type) : Output cv qualifier. * g++.dg/template/ttp10.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84961 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 6 ++++++ gcc/cp/error.c | 1 + 2 files changed, 7 insertions(+) (limited to 'gcc/cp') diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2cf92d0a435..c05d91ffb72 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,9 @@ +2004-07-20 Kriang Lerdsuwanakij + + PR c++/16175 + * error.c (dump_type) : Output + cv qualifier. + 2004-07-19 Mark Mitchell PR c++/16623 diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 6fa99a7a801..cf1bf39f36b 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -316,6 +316,7 @@ dump_type (tree t, int flags) case BOUND_TEMPLATE_TEMPLATE_PARM: { tree args = TYPE_TI_ARGS (t); + pp_cxx_cv_qualifier_seq (cxx_pp, t); pp_cxx_tree_identifier (cxx_pp, TYPE_IDENTIFIER (t)); pp_cxx_begin_template_argument_list (cxx_pp); dump_template_argument_list (args, flags); -- cgit v1.2.1