http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47067
Summary: [c++0x] ICE in cxx_eval_bare_aggregate, at cp/semantics.c:6352 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: ro...@binarylife.net $ cat test.cpp struct X { virtual void x(); virtual ~X(); }; struct Y { virtual void y(); virtual ~Y(); }; struct Z: X, Y {} z; $ g++ test.cpp -c -std=c++0x test.cpp:11:19: in constexpr expansion of 'z.Z::Z()' test.cpp:11:19: internal compiler error: in cxx_eval_bare_aggregate, at cp/semantics.c:6352 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. $ svn info | egrep Revision Revision: 168275 In http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46626#c10, Jakub Jelinek said: > I see the ICE with the second testcase from #c8 back till r166167.