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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Jun 11 22:02:19 2018
New Revision: 261464

URL: https://gcc.gnu.org/viewcvs?rev=261464&root=gcc&view=rev
Log:
        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.

Added:
    branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/sfinae63.C
Modified:
    branches/gcc-8-branch/gcc/cp/ChangeLog
    branches/gcc-8-branch/gcc/cp/cp-tree.h
    branches/gcc-8-branch/gcc/cp/pt.c

Reply via email to