panic when compiling SHA
Ben Lippmeier
benl at ouroborus.net
Mon Jan 6 08:20:11 UTC 2014
On 06/01/2014, at 14:08 , Kazu Yamamoto (山本和彦) <kazu at iij.ad.jp> wrote:
> Ben,
>
>> Note that removing the flag isn't a "solution" to the underlying
>> problem of the intermediate code being awful. Switching to the
>> linear allocator just permits compilation of core code that was
>> worse than before. Now it needs to spill more registers when
>> compiling the same source code.
>
> So, would you reopen #5361 by yourself?
>
> https://ghc.haskell.org/trac/ghc/ticket/5361
Not if we just have this one test. I'd be keen to blame excessive use of inline pragmas in the SHA library itself, or excessive optimisation flags. It's not really a bug in GHC until there are two tests that exhibit the same problem.
Ben.
More information about the ghc-devs
mailing list