[Bug c++/100850] [coroutine] Wrong addresses of variables captured by reference into lambda co-routines.
iains at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 2 10:20:37 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100850
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #6 from Iain Sandoe <iains at gcc dot gnu.org> ---
this is a known "gotcha" with coroutines and use of references (it's accepted
that perhaps there could be better diagnostics about it).
More information about the Gcc-bugs
mailing list