pt.c (deduction_tsubst_fntype): Just suppress access checking.
authorJason Merrill <jason@redhat.com>
Thu, 12 Jul 2012 22:57:03 +0000 (18:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 12 Jul 2012 22:57:03 +0000 (18:57 -0400)
commit77a24503cb343fb2fd59cdb7b360893e133bae44
tree8507814180585d62e7fc2fcb4c7e8f673db25d85
parent0d87d3076f3e9f8a1e85bdbf8304cf708d2ce370
pt.c (deduction_tsubst_fntype): Just suppress access checking.

* pt.c (deduction_tsubst_fntype): Just suppress access checking.
(instantiate_template_1): Set DECL_TI_TEMPLATE before access checking.
(push_deduction_access_scope, pop_deduction_access_scope): Remove.

From-SVN: r189443
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/sfinae6_neg.C