Compiler output: $ gcc testcase.C testcase.C: In member function 'void B<<anonymous> >::foo()': testcase.C:10:18: internal compiler error: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions: r163261 - crash 4.5 r160526 - crash 4.4 r160770 - crash 4.4 r149995 - crash -- Summary: ICE: tree check: expected aggr_init_expr, have call_expr in build_value_init, at cp/init.c:317 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45315