Inhibiting the specialiser?

Conal Elliott conal at conal.net
Fri Sep 15 14:41:47 UTC 2017


Thanks. I somehow didn't notice that flag.

On Fri, Sep 15, 2017 at 3:23 AM, Simon Peyton Jones <simonpj at microsoft.com>
wrote:

> Did you try -fno-specialise?
>
>
>
> *From:* Glasgow-haskell-users [mailto:glasgow-haskell-users-
> bounces at haskell.org] *On Behalf Of *Conal Elliott
> *Sent:* 15 September 2017 02:45
> *To:* glasgow-haskell-users at haskell.org
> *Subject:* Inhibiting the specialiser?
>
>
>
> Is there a GHC flag for inhibiting the specializer (but not all
> optimizations)? I'm seeing huge output from the Specialise phase killed at
> 4GB and growing. The output starts as follows:
>
>
>
> Result size of Specialise
>
>   = {terms: 29,639, types: 10,921,552, coercions: 4,425,185}
>
>
>
> Sounds like a lot to me. Is it?. I get this behavior with -O2 and with -O.
>
>
>
> -- Conal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20170915/5b642ad2/attachment.html>


More information about the Glasgow-haskell-users mailing list