#7213: Test codeGen/should_compile/massive_array failing on 32-bits
---------------------------------+------------------------------------------
    Reporter:  simonmar          |       Owner:  simonmar        
        Type:  bug               |      Status:  new             
    Priority:  high              |   Milestone:  7.8.1           
   Component:  Compiler          |     Version:  7.4.2           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * owner:  => simonmar
  * priority:  normal => high


Comment:

 I believe this commit should have fixed it, but I haven't tested it yet:

 commit 0b0a41f96cbdaf52aac171c9c58459e3187b0f46
 {{{
 Author: Simon Marlow <marlo...@gmail.com>
 Date:   Thu Sep 20 13:54:49 2012 +0100

     Teach the linear register allocator how to allocate more stack if
 necessary

     This squashes the "out of spill slots" panic that occasionally happens
     on x86, by adding instructions to bump and retreat the C stack pointer
     as necessary.  The panic has become more common since the new codegen,
     because we lump code into larger blocks, and the register allocator
     isn't very good at reusing stack slots for spilling (see Note [extra
     spill slots]).
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7213#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to