https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215
--- Comment #14 from Jarrod Smith <jarrod.smith at ardentblue dot com> --- I've been following this and experiencing the issue in gcc 10.2. I still see "<optimized out>" for all variables when debugging C++20 coroutines with gcc 11.2. Is there a workaround (e.g. using a certain branch of gcc) in order to inspect coroutine variables with gdb the meantime?