[Bug c++/95616] [coroutines] coroutines with potentially-throwing 'co_await promise.final_suspend()' expressions should be ill-formed

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 16 09:19:45 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95616

--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> ---
Created attachment 50197
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50197&action=edit
Patch being tested

this fixes the top-level check, but doesn't yet look at (a) operator co_await
(b) the await_* functions.

needs some tidying up.


More information about the Gcc-bugs mailing list