diff options
author | lerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-20 16:02:13 +0000 |
---|---|---|
committer | lerdsuwa <lerdsuwa@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-20 16:02:13 +0000 |
commit | b1af6b0b782f10cb34fcfbd975a7ac80b9d905a1 (patch) | |
tree | 323d680d59e94cdccf5a89b2a91f8ac81b05c498 /gcc/cp | |
parent | c0c05a15f1a3a44de0c7dd508d9b2271869d7b0b (diff) | |
download | gcc-b1af6b0b782f10cb34fcfbd975a7ac80b9d905a1.tar.gz |
PR c++/16175
* error.c (dump_type) <BOUND_TEMPLATE_TEMPLATE_PARM case>: 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
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/cp/error.c | 1 |
2 files changed, 7 insertions, 0 deletions
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 <lerdsuwa@users.sourceforge.net> + + PR c++/16175 + * error.c (dump_type) <BOUND_TEMPLATE_TEMPLATE_PARM case>: Output + cv qualifier. + 2004-07-19 Mark Mitchell <mark@codesourcery.com> 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); |