[Bug c++/43069] [4.5 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'overload' in set_decl_namespace, at cp/name-lookup.c:3105
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Feb 17 22:52:00 GMT 2010
------- Comment #2 from jason at gcc dot gnu dot org 2010-02-17 22:51 -------
Subject: Bug 43069
Author: jason
Date: Wed Feb 17 22:51:43 2010
New Revision: 156841
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156841
Log:
PR c++/43069
* name-lookup.c (set_decl_namespace): Don't copy DECL_CONTEXT if the
decl we looked up doesn't match.
Added:
trunk/gcc/testsuite/g++.dg/parse/namespace11.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43069
More information about the Gcc-bugs
mailing list