re PR c++/57638 (warning container: 'integer_cst’ not supported by dump_type#<type...
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 19 Jun 2013 08:49:59 +0000 (08:49 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 19 Jun 2013 08:49:59 +0000 (08:49 +0000)
commit6be8258d837c78d23026d1b1c57252ef790b8e3d
tree1e92193013b0d484ff0c6d05b939e7aab31c5bfa
parent4033c667ceb55bb5d68f28ed35b3dde480b8b491
re PR c++/57638 (warning container: 'integer_cst’ not supported by dump_type#<type error>)

/cp
2013-06-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/57638
* pt.c (unify, [TEMPLATE_PARM_INDEX]): Pass to unify_type_mismatch
TREE_TYPE (arg), not arg itself.

/testsuite
2013-06-19  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

PR c++/57638
* g++.dg/template/error53.C: New.

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