It seems it's the inliner going haywire -- if I add a (declare (inlining-limit 100)), then it compiles in 20s.

-- vyzo

On Mon, Mar 19, 2018 at 7:29 PM, Dimitris Vyzovitis <vyzo@hackzen.org> wrote:
The attached file results in a 140kloc monster that results in gcc dying with OOM after several minutes of effort, and I would like to understand why.
Any ideas?

-- vyzo