r174139 - in /trunk/gcc: cp/ChangeLog cp/class....

jason@gcc.gnu.org jason@gcc.gnu.org
Tue May 24 20:26:00 GMT 2011


Author: jason
Date: Tue May 24 20:26:47 2011
New Revision: 174139

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174139
Log:
	PR c++/48884
	* class.c (pushclass): Accept NULL argument.
	(popclass): Deal with popping null class.
	* pt.c (push_access_scope, pop_access_scope): Use them rather than
	push_to_top_level/pop_from_top_level.
	(push_deduction_access_scope, pop_defarg_context): New.
	(fn_type_unification): Use them.
	* name-lookup.c (lookup_name_real_1): Check current_class_type.

Added:
    trunk/gcc/testsuite/g++.dg/template/access21.C
    trunk/gcc/testsuite/g++.dg/template/access22.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list