https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119212
Bug ID: 119212
Summary: Unstable internal compiler error, possibly
miscompilation with coroutines
Product: gcc
Version: 12.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: kelbonage at gmail dot com
Target Milestone: ---
With a probability of about 30%, gcc crashes with an internal error when
compiling a large file with coroutines. The project is open, I hope you can
figure out this problem and solve it.
As far as I know, gcc 14 crashes with the same error, also not always.
```cpp
/home/runner/work/TGBM/TGBM/src/telegram.cpp
/home/runner/work/TGBM/TGBM/src/telegram.cpp:1585:1: internal compiler error:
Segmentation fault
1585 | } // namespace tgbm::api
| ^
0x1b416aa internal_error(char const*, ...)
???:0
0x8becd3 c_common_finalize_early_debug()
???:0
0x98b886 symbol_table::finalize_compilation_unit()
???:0
```
pipeline run:
https://github.com/bot-motherlib/TGBM/actions/runs/13785604294/job/38552799731?pr=111