re PR c++/71075 (Broken diagnostic: 'integer_cst' not supported by 'dump_decl')
authorMarek Polacek <polacek@redhat.com>
Thu, 19 May 2016 20:23:52 +0000 (20:23 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 19 May 2016 20:23:52 +0000 (20:23 +0000)
commit2a5569fad3cd964d1c8456b07a411189695ad275
tree31ff8d1c06d56eeaf7512daada45185e94947a79
parenta7dd5069bb45d94331655a246897fbaeef21ef38
re PR c++/71075 (Broken diagnostic: 'integer_cst' not supported by 'dump_decl')

PR c++/71075
* pt.c (unify_template_argument_mismatch): Use %qE instead of %qD.

* g++.dg/diagnostic/pr71075.C: New test.

From-SVN: r236487
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/diagnostic/pr71075.C [new file with mode: 0644]