[Bug c++/98704] New: coroutine_handle::done() == false after promise's unhandled_exception() has thrown

2021-01-16 Thread m.krause--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98704 Bug ID: 98704 Summary: coroutine_handle::done() == false after promise's unhandled_exception() has thrown Product: gcc Version: 11.0 Status: UNCONFIRMED Severit

[Bug c++/98704] coroutine_handle::done() == false after promise's unhandled_exception() has thrown

2021-01-17 Thread m.krause--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98704 --- Comment #1 from Michael Krause --- Created attachment 49985 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49985&action=edit A possible fix? Would this be the proper way to fix the problem? That is, instead of generating a simple "prom