]> git.ipfire.org Git - thirdparty/gcc.git/commit
In partial ordering for a call, ignore parms for which we don't have a real argument.
authorJason Merrill <jason@redhat.com>
Fri, 22 Dec 2000 14:47:23 +0000 (09:47 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 22 Dec 2000 14:47:23 +0000 (09:47 -0500)
commite5214479a779ad44390aec0694c11c5493aaad83
tree03872ce18ff4048a6f1f283f2b1c17a057af6e7a
parent83ab39071b94a60a1b8fb8e791b8b651b93282fa
In partial ordering for a call, ignore parms for which we don't have a real argument.

        In partial ordering for a call, ignore parms for which we don't have
        a real argument.
        * call.c (joust): Pass len to more_specialized.
        (add_template_candidate_real): Strip 'this', pass len.
        * pt.c (more_specialized): Pass len down.  Lose explicit_args parm.
        (get_bindings_order): New fn.  Pass len down.
        (get_bindings_real): Strip 'this', pass len.
        (fn_type_unification): Likewise.
        (type_unification_real): Succeed after checking 'len' args.
        (most_specialized_instantiation): Lose explicit_args parm.
        * class.c (resolve_address_of_overloaded_function): Strip 'this',
        pass len.

From-SVN: r38460
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/class.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.pt/partial5.C [new file with mode: 0644]