https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 101367, which changed state.
Bug 101367 Summary: [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED