Created attachment 26914 [details] 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.
Confirmed. Here too, like in PR52619, the crash happens in lvalue_kind when an INDIRECT_REF has no TREE_TYPE. And a lambda is also involved. Jason, are we dealing with the same issue?
Again probably Dup of PR54403.
Fixed by the patch which fixed PR54122. *** This bug has been marked as a duplicate of bug 54122 ***