[Bug c++/49042] [C++0x] wrong "protected" when using template and decltype
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed May 25 00:35:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49042
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-24 23:45:05 UTC ---
Author: jason
Date: Tue May 24 23:44:59 2011
New Revision: 174151
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174151
Log:
PR c++/49042
* pt.c (get_mostly_instantiated_function_type): Use
push_deferring_access_checks rather than set flag_access_control.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/access01.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list