http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56869
Bug #: 56869 Summary: [4.7 Regression] ICE (segfault) with the 4.7.3 release candidate Classification: Unclassified Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: d...@gcc.gnu.org works with 4.6 and 4.8, fails with the 4.7 branch $ g++ -std=c++0x foo.cc ' Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate. #include <memory> namespace { struct Foo { Foo(int) {} }; } int main(int, char**) { auto foo = std::make_shared<Foo>(); return 0; }