#2753: GHC 6.10.1 cannot compile Crypto-4.1.0
------------------------------+---------------------------------------------
 Reporter:  thoughtpolice     |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Milestone:  6.10.2          
Component:  Compiler          |        Version:  6.10.1          
 Severity:  critical          |     Resolution:                  
 Keywords:                    |     Difficulty:  Unknown         
 Testcase:                    |   Architecture:  Unknown/Multiple
       Os:  Unknown/Multiple  |  
------------------------------+---------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown
  * os:  MacOS X => Unknown/Multiple
  * milestone:  => 6.10.2

Comment:

 I don't think it was ever fixed, it may have just stopped happening for a
 while for unrelated reasons.

 The problem is that the spill code in the linear register allocator is
 pretty stupid and doesn't try to re-use spill slots.  Also, we only have a
 fixed number of spill slots, because we have a fixed-size frame on the C
 stack in which to spill into, which is currently 2048 words.  We could
 certainly bump the size of this without any serious adverse effects
 (`includes/Constants.h`, `RESERVED_C_STACK_BYTES`).  I suggest that as a
 workaround for 6.10.2.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2753#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to