http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46065
Summary: [4.6 Regression] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Created attachment 22075 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22075 reduced testcase Compiler output: $ g++ pr46065.C pr46065.C: In function 'void foo()': pr46065.C:7:7: internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'tree_list' in poplevel_named_label_1, at cp/decl.c:477 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. Tested revisions: r165629 - crash r163636 - crash r161659 - OK Might be another fallout of r162223 ( http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00577.html )