It's 140kloc without the inlining declaration and just 22Kloc with the declaration. -- vyzo On Mon, Mar 19, 2018 at 8:27 PM, Marc Feeley <feeley@iro.umontreal.ca> wrote:
Out of curiosity, what is the number of LOC of C with and without the inlining-limit?
I’m just wondering if this should be classified as an issue, or if the inliner is just doing its work as expected.
Marc
On Mar 19, 2018, at 2:23 PM, Dimitris Vyzovitis <vyzo@hackzen.org> wrote:
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