PR c++/78489 - wrong SFINAE behavior.
commitdcc97051f9d3e33d1355bd962b0fc13e7281bcdd
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Mar 2018 22:03:51 +0000 (23 22:03 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Mar 2018 22:03:51 +0000 (23 22:03 +0000)
tree4120c8efa3ca8166e60808383eab03b86f9ac498
parentde7513fb4101de2afa63a94a08c77d6ff4fd6de4
PR c++/78489 - wrong SFINAE behavior.

PR c++/84489
* pt.c (type_unification_real): Don't defer substitution failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258824 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/fntmpdefarg4a.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/sfinae60.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/sfinae61.C [new file with mode: 0644]