#1501: Panic in RegisterAlloc
-----------------------------+----------------------------------------------
  Reporter:  guest           |          Owner:          
      Type:  bug             |         Status:  new     
  Priority:  normal          |      Milestone:          
 Component:  Compiler (NCG)  |        Version:  6.7     
  Severity:  normal          |       Keywords:          
Difficulty:  Unknown         |             Os:  Multiple
  Testcase:  cmm002          |   Architecture:  x86     
-----------------------------+----------------------------------------------
The following code causes a panic when compiling with the NCG (i.e. with
 {{{-fasm}}}).

 {{{
 stg_ap_0_fast {
     bits32 y, x;
     c7: y = bits32[x];
         goto c7;
 }
 }}}

 The panic is
 {{{
 ghc-6.7.20070620: panic! (the 'impossible' happened)
   (GHC version 6.7.20070620 for i386-unknown-linux):
         RegisterAlloc.joinToTargets
 }}}

 I do not know of any code that depends on this yet. I just tripped over it
 when writting tests for the CPS pass.

-- 
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