re PR c++/23513 (overload resolution fails to select a more specialized template)
authorNathan Sidwell <nathan@codesourcery.com>
Wed, 5 Oct 2005 09:15:47 +0000 (09:15 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 5 Oct 2005 09:15:47 +0000 (09:15 +0000)
commit48884537a3a1b1d8023046dceb6c5358138c1a89
treee8b6e32abd9c1307b81f84ce281459c250722933
parent410e268ccec9d2c227cc12f3d081557ce2096c65
re PR c++/23513 (overload resolution fails to select a more specialized template)

cp:
PR c++/23513
* call.c (joust): Adjust length count to more_specialized_fn.
* pt.c (more_specialized_fn): Cope with non-static member vs
non-member.
testsuite:
PR c++/23513
* g++.dg/template/spec22.C: Robustify test.
* g++.dg/template/spec26.C: New.

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