]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/51230 (Broken diagnostic: 'template_parm_index' not supported by dump_type)
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 20 Nov 2011 22:37:54 +0000 (22:37 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 20 Nov 2011 22:37:54 +0000 (22:37 +0000)
commitfcb13a10e4053a9d6426093b9c733634339a022f
tree23e25716ad6ee1f32e6e1c034f6d8c096553e990
parentfd9ee5972eb7ceb1e8da07b854431f1c7375ef53
re PR c++/51230 (Broken diagnostic: 'template_parm_index' not supported by dump_type)

/cp
2011-11-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51230
* pt.c (unify_inconsistency): Handle non-type parameters better.
* error.c (dump_expr): Handle TEMPLATE_TEMPLATE_PARM.

/cp
2011-11-20  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51230
* g++.dg/template/error46.C: New.

From-SVN: r181538
gcc/cp/ChangeLog
gcc/cp/error.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/error46.C [new file with mode: 0644]