#1466: Stack check for AP_STACK
-------------------------------+--------------------------------------------
    Reporter:  simonmar        |        Owner:  simonmar        
        Type:  bug             |       Status:  new             
    Priority:  normal          |    Milestone:  6.8             
   Component:  Runtime System  |      Version:  6.6.1           
    Severity:  normal          |   Resolution:                  
    Keywords:                  |   Difficulty:  Moderate (1 day)
          Os:  Unknown         |     Testcase:  concprog001     
Architecture:  Unknown         |  
-------------------------------+--------------------------------------------
Comment (by simonmar):

 Partly done:

 {{{
 Tue Sep 11 14:02:28 BST 2007  Simon Marlow <[EMAIL PROTECTED]>
   * FIX #1466 (partly), which was causing concprog001(ghci) to fail
   An AP_STACK now ensures that there is at least AP_STACK_SPLIM words of
   stack headroom available after unpacking the payload.  Continuations
   that require more than AP_STACK_SPLIM words of stack must do their own
   stack checks instead of aggregating their stack usage into the parent
   frame.  I have made this change for the interpreter, but not for
   compiled code yet - we should do this in the glorious rewrite of the
   code generator.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1466>
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