]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/43069 (ICE: tree check: expected tree that contains 'decl minimal' structur...
authorJason Merrill <jason@redhat.com>
Wed, 17 Feb 2010 22:51:43 +0000 (17:51 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 17 Feb 2010 22:51:43 +0000 (17:51 -0500)
commit77278f4acb960227639ab6ad6ded471f82503f51
tree5cfc9ee0fc24e68bffb90b1414b930318ee5daf7
parent85a52ea58cdcfe9c292d62b3e06149eea2f49eb9
re PR c++/43069 (ICE: tree check: expected tree that contains 'decl minimal' structure, have 'overload' in set_decl_namespace, at cp/name-lookup.c:3105)

PR c++/43069
* name-lookup.c (set_decl_namespace): Don't copy DECL_CONTEXT if the
decl we looked up doesn't match.

From-SVN: r156841
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/namespace11.C [new file with mode: 0644]