PR c++/49042
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 May 2011 23:44:59 +0000 (23:44 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 May 2011 23:44:59 +0000 (23:44 +0000)
commitcace96f54c30ee69580d2aad467df59b066fc2b3
tree4216f7f45aa36e01e847d24d3ffa5d1ce9dda49d
parentae5b3e8978b6a07f7c817b6fcc0e596cde817d4c
PR c++/49042
* pt.c (get_mostly_instantiated_function_type): Use
push_deferring_access_checks rather than set flag_access_control.

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