https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90335
Bug ID: 90335 Summary: ICE with lambda as cnttp in a templated struct (segfault). C++2a Product: gcc Version: 9.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: boris.rura at gmail dot com Target Milestone: --- Created attachment 46279 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46279&action=edit Minimal example. Hello I've encountered this bug while trying out some C++2a features. Using a class with cnttp inside a templated structure and passing it a lambda doesn't work. Trying to pass a lambda generated by another lambda ICEs the compiler (segfault).