This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r176013 - in /trunk/gcc: cp/ChangeLog cp/class....
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 07 Jul 2011 21:53:59 -0000
- Subject: r176013 - in /trunk/gcc: cp/ChangeLog cp/class....
Author: jason
Date: Thu Jul 7 21:53:58 2011
New Revision: 176013
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176013
Log:
PR c++/49663
* pt.c (push_deduction_access_scope): Preserve
processing_template_decl across push_to_top_level.
And revert:
* 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.
* name-lookup.c (lookup_name_real_1): Check current_class_type.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/regress/regress4.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