http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53634
Bug #: 53634 Summary: Segmentation fault on nested lambda + template Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: mail+...@tzik.jp Hi. I encountered a segmentation fault when I compile following code on gcc-4.5.3 and gcc-4.6.3: template<typename T> void hoge(T) { } int main(int, char**) { hoge([](){return [](){};}()); return 0; }