[Bug c++/118143] coroutines: co_await & co_return in ({ ... }) syntax cause ICE, internal compiler error: in gimplify_expr

2024-12-19 Thread sunsijie at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118143 --- Comment #3 from 孙思杰 --- sorry,i just saw your comment. just paste here as a reference. As noted in pr98935, statement expressions are not handled (I deferred handling them in the initial implementation since they are an extension)... howeve

[Bug c++/118143] coroutines: co_await & co_return in ({ ... }) syntax cause ICE, internal compiler error: in gimplify_expr

2024-12-19 Thread sunsijie at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118143 --- Comment #2 from 孙思杰 --- is there any fix plan?

[Bug c++/118143] New: coroutines: co_await & co_return in ({ ... }) syntax cause ICE, internal compiler error: in gimplify_expr

2024-12-19 Thread sunsijie at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118143 Bug ID: 118143 Summary: coroutines: co_await & co_return in ({ ... }) syntax cause ICE, internal compiler error: in gimplify_expr Product: gcc Version: 14.2.1 Status: UN

[Bug c++/117389] std::string that is value-captured by lambda cannot be deconstruct correctly when the lamda is passed as a coroutine argument

2024-12-01 Thread sunsijie at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117389 --- Comment #6 from 孙思杰 --- This bug seems very serious but still not fixed in the gcc 12.4 which is released in 2024.6.20. I'm not sure does this mean c++20 coroutine is an immature and unstable feature for gcc. We are trying using c++20 corou

[Bug c++/117389] std::string that is value-captured by lambda cannot be deconstruct correctly when the lamda is passed as a coroutine argument

2024-10-31 Thread sunsijie at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117389 --- Comment #1 from 孙思杰 --- I cannot reproduce this bug on gcc13+ and clang. but I also cannot find any related bug report.

[Bug c++/117389] New: std::string that is value-captured by lambda cannot be deconstruct correctly when the lamda is passed as a coroutine argument

2024-10-31 Thread sunsijie at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117389 Bug ID: 117389 Summary: std::string that is value-captured by lambda cannot be deconstruct correctly when the lamda is passed as a coroutine argument Product: gcc

[Bug c++/116775] C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p

2024-09-18 Thread sunsijie at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775 孙思杰 changed: What|Removed |Added Keywords||c++-coroutines --- Comment #1 from 孙思杰 --- build

[Bug c++/116775] New: C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p

2024-09-18 Thread sunsijie at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116775 Bug ID: 116775 Summary: C++20 Coroutine await_suspend is unexpectedly executed when using in __builtin_constant_p Product: gcc Version: 14.2.0 Status: UNCONFIRMED