* pt.c (type_unification_real): Fix handling of DEDUCE_CONV
commitb4c50d780ff04de259d74e307dd3df11054e52c7
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Sep 2011 18:05:03 +0000 (12 18:05 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Sep 2011 18:05:03 +0000 (12 18:05 +0000)
tree3c2dfa16f342d9600137880ae0596723c88a36ac
parentd6b20eb5651b55c9aed3674674253b44460973fe
* pt.c (type_unification_real): Fix handling of DEDUCE_CONV
with no deducible template parameters.
* call.c (rejection_reason_code): Add rr_template_conversion.
(print_z_candidate): Handle it.
(template_conversion_rejection): New.
(build_user_type_conversion_1): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178791 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/fntmpdefarg2.C