https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118583
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Keywords| |memory-hog
Component|c |middle-end
Summary|gcc: internal compiler |gcc: internal compiler
|error: Segmentation fault |error: Segmentation fault
|signal terminated program |signal terminated program
|cc1 |cc1, deep recursion with
| |TER
Last reconfirmed| |2025-01-21
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Probably a stack overflow. I can trigger this on linux with setting a hard
limit on it, like with ulimit -s 4096.
For me the recursion that faults is from RTL expansion which seems to not
limit the depth of TER which means a workaround is to specify -fno-tree-ter
Does that work for you as well?