This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45049] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in push_overloaded_decl, at cp/name-lookup.c:2160
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2010 10:55:34 -0000
- Subject: [Bug c++/45049] [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in push_overloaded_decl, at cp/name-lookup.c:2160
- References: <bug-45049-14164@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from zsojka at seznam dot cz 2010-08-17 10:55 -------
Created an attachment (id=21501)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21501&action=view)
different testcase
This one has declaration of overloaded functions in function scope. The assert
is the same.
$ gcc pr45049-2.C
pr45049-2.C: In function 'void foo()':
pr45049-2.C:6:16: internal compiler error: tree check: expected tree that
contains 'decl minimal' structure, have 'tree_list' in push_overloaded_decl, at
cp/name-lookup.c:2160
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45049