#1501: Panic in RegisterAlloc
-------------------------------+--------------------------------------------
    Reporter:  guest           |        Owner:         
        Type:  bug             |       Status:  closed 
    Priority:  normal          |    Milestone:  6.8    
   Component:  Compiler (NCG)  |      Version:  6.7    
    Severity:  normal          |   Resolution:  fixed  
    Keywords:                  |   Difficulty:  Unknown
          Os:  Multiple        |     Testcase:  cmm002 
Architecture:  x86             |  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * resolution:  => fixed
  * status:  new => closed

Comment:

 I think the register allocator is confused because `x` is used without
 being assigned to, so the allocator doesn't think it's live.  If you add
 an assignment to `x` it compiles without error.

 Furthermore, the new graph-colouring allocator handles this just fine, so
 I'm going to close the bug.

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