#5422: Panic when using lots of registers in cmm code
---------------------------------+------------------------------------------
    Reporter:  pumpkin           |       Owner:              
        Type:  bug               |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  7.2.1             |    Keywords:              
    Testcase:                    |   Blockedby:              
          Os:  Unknown/Multiple  |    Blocking:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by pumpkin):

 This bug is caused by the fact that baseRegOffset in CgUtils.hs has a
 bunch of hard-coded pattern matches up to 10 on VanillaReg, and panics if
 those aren't enough. I guess 10 registers are good enough for everyone?
 Using statically computed offsets into the StgRegTable seems unfortunate
 here, but I don't know how it works well enough to have any better ideas
 :/

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