http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52613
Bug #: 52613 Summary: [C++11] ICE with noexcept in lambda expression in member function of class template Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: ai.az...@gmail.com Created attachment 26914 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26914 Output of -v option and preprocessed file The following valid code causes an ICE. /////////////////////////// template<typename> struct S { void f() { [&] { noexcept(!b_); }; } bool b_; }; /////////////////////////// main.cpp: In lambda function: main.cpp:6:21: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.