https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116882
Bug ID: 116882 Summary: gcc-14 ICE with coroutines Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jeanmichael.celerier at gmail dot com Target Milestone: --- Will try to reproduce - here is in the meantime a CI job: https://github.com/celtera/avendish/actions/runs/11086764898/job/30804702919#step:7:1168 internal compiler error: in coro_promise_type_found_p, at cp/coroutines.cc:460 342 | co_yield r; | ^~~~~~~~ 0x72cb50 coro_promise_type_found_p ../../src/gcc/cp/coroutines.cc:460 0xf47f16 finish_co_yield_expr(unsigned int, tree_node*) ../../src/gcc/cp/coroutines.cc:1238 0x10ed246 tsubst_expr(tree_node*, tree_node*, int, tree_node*) ../../src/gcc/cp/pt.cc:21674 0x10fba57 tsubst_stmt ../../src/gcc/cp/pt.cc:19485 0x10fdb27 tsubst_stmt ../../src/gcc/cp/pt.cc:18445 0x10fc7de tsubst_stmt ../../src/gcc/cp/pt.cc:18413 0x10fc7de tsubst_stmt ../../src/gcc/cp/pt.cc:18427 0x10fd34a tsubst_stmt ../../src/gcc/cp/pt.cc:18697 0x10fc783 tsubst_stmt ../../src/gcc/cp/pt.cc:18801 0x10fa7a2 tsubst_stmt ../../src/gcc/cp/pt.cc:18413 0x10fa7a2 instantiate_body ../../src/gcc/cp/pt.cc:27091 0x10fb645 instantiate_decl(tree_node*, bool, bool) ../../src/gcc/cp/pt.cc:27376 0x11207fb instantiate_pending_templates(int) ../../src/gcc/cp/pt.cc:27452 0xfbedb7 c_parse_final_cleanups() ../../src/gcc/cp/decl2.cc:5156 0x1211668 c_common_parse_file() ../../src/gcc/c-family/c-opts.cc:1329