https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69056

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Author: ppalka
Date: Wed Feb  3 20:14:43 2016
New Revision: 233108

URL: https://gcc.gnu.org/viewcvs?rev=233108&root=gcc&view=rev
Log:
Fix PR c++/69056 (argument pack deduction failure during overload resolution)

gcc/cp/ChangeLog:

        PR c++/69056
        * pt.c (try_one_overload): Handle comparing argument packs so
        that there is no conflict if we deduced more arguments of an
        argument pack than were explicitly specified.

gcc/testsuite/ChangeLog:

        PR c++/69056
        g++.dg/cpp0x/pr69056.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr69056.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to