https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117389
Sam James <sjames at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |arsen at gcc dot gnu.org, | |iains at gcc dot gnu.org --- Comment #7 from Sam James <sjames at gcc dot gnu.org> --- (In reply to 孙思杰 from comment #6) > 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 coroutine in an infrastructure > software, this bug makes us lose confidence on this. Could you give us some > opinion on the application of coroutine. C++20 is experimental still in GCC as a whole, see https://gcc.gnu.org/projects/cxx-status.html#cxx20. coroutines are still on the rougher edge of that, although Iain, Arsen, and others have been doing a lot of work on trunk for that (for 15). I don't know how many of those fixes are backportable though. This particular bug was marked as a dupe of PR101367 which is fixed in GCC 13+. We can ask Iain and Arsen if the patch would be OK to backport, though.