This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49042] [C++0x] wrong "protected" when using template and decltype


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]