This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]