[Bug c++/124729] [coroutines] await-expressions are split in a brace-init-list
ddvamp007 at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 31 18:04:18 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124729
--- Comment #1 from Artyom Kolpakov <ddvamp007 at gmail dot com> ---
https://godbolt.org/z/qe4Yxx3jq
When await-expressions appear as operands of a conditional-expression, the
await-ready and await-suspend parts of both operands are evaluated
unconditionally, whereas await-resume is evaluated conditionally.
More information about the Gcc-bugs
mailing list