[gambit-list] The monster that killed gcc

Dimitris Vyzovitis vyzo at hackzen.org
Mon Mar 19 14:31:09 EDT 2018


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 at 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 at 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 at 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
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20180319/2340b7f3/attachment.htm>


More information about the Gambit-list mailing list