PR c++/61806 - missed SFINAE with partial specialization.
commitc1a99cc33960903053d9b054b7331880c3ee78d9
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jun 2018 15:16:00 +0000 (4 15:16 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Jun 2018 15:16:00 +0000 (4 15:16 +0000)
tree8c2bcb9e7a4d2d05d42477516dee59e8ca226f01
parent5228d413970208645b7a3397465d682335ddd9ee
PR c++/61806 - missed SFINAE with partial specialization.

* cp-tree.h (deferring_access_check_sentinel): Add deferring_kind
parameter to constructor.
* pt.c (instantiate_class_template_1): Enable access checking
before call to most_specialized_partial_spec.

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