]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/45049 (ICE: tree check: expected tree that contains 'decl minimal' structur...
authorNathan Froyd <froydnj@codesourcery.com>
Wed, 18 Aug 2010 16:05:40 +0000 (16:05 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Wed, 18 Aug 2010 16:05:40 +0000 (16:05 +0000)
commitc043ee4a3aca9dab1b13808abce5de717eced450
tree1b236ea0b57d049c968cfe54f950db94f793ef09
parent3ff91293eb19a5b6fa7fd47ca99b93d57d89570d
re PR c++/45049 (ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in push_overloaded_decl, at cp/name-lookup.c:2160)

gcc/cp/
PR c++/45049
* name-lookup.c (push_overloaded_decl): Change DECL_CHAIN to
TREE_CHAIN.

gcc/testsuite/
PR c++/45049
* g++.dg/pr45049-1.C: New test.
* g++.dg/pr45049-2.C: New test.

From-SVN: r163344
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr45049-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/pr45049-2.C [new file with mode: 0644]