https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215
--- Comment #4 from Nils Gladitz <nilsgladitz at gmail dot com> --- (In reply to Iain Sandoe from comment #3) > ... the essence of the idea [on the mentioned long TODO] is to change the > way in which frame vars are referenced; instead of changing the uses to > point to the frame version, change the vars to have a DECL_VALUE_EXPR > pointing to the frame version. This is a totally theoretical sketch (no > experiments done yet). > > Stated in one sentence, that doesn't sound too tricky .. but maintaining the > state of the coroutine *is* quite tricky (and lambdas already use the > DECL_VALUE_EXPRs). Alright, thank you! Just knowing that this is thought of, on a todo list and currently not completely inaccessible helps build confidence somewhat; I think for me enough to try some of this in production code. With some luck you still get through your todo list faster than I get to my next corresponding release :)