[Bug c++/101976] When constructing object, calling function and performing co_await in same statement, temporary is erroneously moved trivially
dprokoptsev at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Aug 11 23:05:07 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101976
--- Comment #1 from Dmitry Prokoptsev <dprokoptsev at gmail dot com> ---
I believe I stumbled on this one as well -- see
https://godbolt.org/z/or31cz6eW, although it's not as trivial as the snippet
provided here.
Reproduces in 10.3 and all subsequent versions.
More information about the Gcc-bugs
mailing list