------- 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