panic when compiling SHA

Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=) kazu at iij.ad.jp
Sat Jan 4 12:22:36 UTC 2014


Hi,

>> There are only a fixed number of register spill slots, and when
>> they're all used the compiler can't dynamically allocate more of
>> them.
> 
> Not true any more in 7.8+ with the linear allocator.  I think it might
> still be true for the graph allocator, which is sadly suffering from a
> little bitrot and probably doesn't generate very good code with the
> new code generator.
> 
> So, avoiding -fregs-graph should work around this with 7.8.

I confirmed that removing -fregs-graph should work around this with
7.8.

--Kazu


More information about the ghc-devs mailing list