PR c++/81917 - ICE with void_t and partial specialization.
authorJason Merrill <jason@redhat.com>
Fri, 9 Feb 2018 21:01:49 +0000 (16:01 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 9 Feb 2018 21:01:49 +0000 (16:01 -0500)
commit83fe399c27e269e48c54bf5d505973b5c03da072
tree735b075cf6fd462d211da21ec9ca17eabb295b92
parentc028d589e94a67795a25763bc95b778e1480f106
PR c++/81917 - ICE with void_t and partial specialization.

* pt.c (instantiate_class_template_1): Set TYPE_BEING_DEFINED before
calling most_specialized_partial_spec.

From-SVN: r257542
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/alias-decl-62.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/initlist-template2.C
gcc/testsuite/g++.dg/template/crash125.C
gcc/testsuite/g++.dg/template/pr51488.C
gcc/testsuite/g++.dg/template/pr55843.C