[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 01:43:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49042

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-25 01:08:55 UTC ---
Author: jason
Date: Wed May 25 01:08:53 2011
New Revision: 174164

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174164
Log:
    PR c++/49042
    * pt.c (get_mostly_instantiated_function_type): Use
    push_deferring_access_checks rather than set flag_access_control.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/access01.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/pt.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list