]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/51367 (Broken diagnostic: 'pointer_type' not supported by dump_expr)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 1 Dec 2011 09:34:43 +0000 (09:34 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 1 Dec 2011 09:34:43 +0000 (09:34 +0000)
commita95888bb35e78b1c256a840d2adaf56bf8a82a1d
tree1e667c176b0072a2df57b80a1d1c075ad147b2ca
parent12f300a8aaec3eeb80a660e96d980faf37f607bf
re PR c++/51367 (Broken diagnostic: 'pointer_type' not supported by dump_expr)

/cp
2011-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51367
* pt.c (unify_inconsistency): Use either %qT or %qE depending on
whether parm is a type or non-type parameter.

/cp
2011-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51367
* g++.dg/template/error47.C: New.

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