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

  * status:  closed => reopened
  * version:  6.7 => 6.9
  * resolution:  fixed =>
  * milestone:  6.8 branch =>

Comment:

 I have found a new manifestation of this bug even when all the variables
 are properly initialized.

 {{{
 stg_ap_0_fast {
     bits32 y, x;
     x = 16;
     if (0 != 0) { /* Doesn't matter what is here */ }
     y = bits32[x];
     c7: goto c7;
 }
 }}}

 The same panic happens but only when the '-dcmm-lint' option is specified.

 Some of the {{{PrimOp.cmm}}} code {{{newPinnedByteArrayzh_fast}}} does
 exactly this
 and trips the bug once the call to {{{MAYBE_GC}}} is removed from that
 function
 which I have to do to convert the RTS to use the CPS pass.

 -- Michael D. Adams

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