https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66001
Bug ID: 66001 Summary: [5.1/6 regression] ICE when NSDMI in a literal class uses a destructor Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: potswa at mac dot com Target Milestone: --- Works in 4.9.2, broken in 5.1. Not sure about 5. struct x { struct dt { ~ dt() {} } const & m = {}; } cx; in constexpr expansion of ‘cx.x::x()’ internal compiler error: unexpected expression ‘<statement>’ of kind try_finally