Improve deduction failure diagnostics.
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Oct 2015 16:19:50 +0000 (16:19 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 31 Oct 2015 16:19:50 +0000 (16:19 +0000)
commit6cc56b65ed93f1510af2cbec36eb950b9a337f70
tree7f600eb0fd5a0762ee42e25fac806f0005647212
parente96d4c06ddb950b2d5e8bc1ef3250ff25d2ce0b0
Improve deduction failure diagnostics.

* pt.c (unify): Don't diagnose no common base if we already have
the same template.
(do_auto_deduction): Explain deduction failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229627 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.pt/explicit77.C