https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62241
--- Comment #4 from Georg Rudoy <0xd34df00d at gmail dot com> --- Also, while experimenting I've found that adding a non-initializing capture element to the list somewhat mitigates the issue. That is, if the capture list looks like `[smth, foo = bar]`, then everything builds fine.