[Bug c++/106973] coroutine generator and setjmp

2022-09-20 Thread woohp135 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973 --- Comment #7 from Hui Peng Hu --- I was trying to call libjpeg to decode images inside a generator. A snippet of code that I found online used setjmp/longjmp for error handling, hence I ran into this issue. Given that the longjmp is called whi

[Bug c++/106973] coroutine generator and setjmp

2022-09-20 Thread woohp135 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973 --- Comment #2 from Hui Peng Hu --- Created attachment 53592 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53592&action=edit preprocessed cpp file

[Bug c++/106973] New: coroutine generator and setjmp

2022-09-20 Thread woohp135 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106973 Bug ID: 106973 Summary: coroutine generator and setjmp Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ A