[Bug c++/49663] [4.7 Regression] [C++0x] ICE in lookup_base
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 7 21:54:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49663
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-07-07 21:54:01 UTC ---
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
More information about the Gcc-bugs
mailing list