]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/ChangeLog
Fix PR c++/69056 (argument pack deduction failure during overload resolution)
authorPatrick Palka <ppalka@gcc.gnu.org>
Wed, 3 Feb 2016 20:14:43 +0000 (20:14 +0000)
committerPatrick Palka <ppalka@gcc.gnu.org>
Wed, 3 Feb 2016 20:14:43 +0000 (20:14 +0000)
commitab4bae0c13ef8574defab12befd8af9545e5b32f
tree794d580ffa605a72375fed6c65d49cc482cddf4c
parent95831c01a21a2b6aad16f7b6e1aa42a062c2ab4e
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.

From-SVN: r233108
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr69056.C [new file with mode: 0644]