#1582: impossible: TODO: gc_target
-----------------------+----------------------------------------------------
  Reporter:  sorear    |          Owner:       
      Type:  bug       |         Status:  new  
  Priority:  normal    |      Milestone:       
 Component:  Compiler  |        Version:  6.7  
  Severity:  normal    |       Keywords:       
Difficulty:  Unknown   |             Os:  Linux
  Testcase:            |   Architecture:  x86  
-----------------------+----------------------------------------------------
{{{
 [EMAIL PROTECTED]:/tmp$ cat Y.hs
 module Y(a,b) where

 a = a

 b ::Bool
 b = b
 [EMAIL PROTECTED]:/tmp$ ghc -fforce-recomp -c Y.hs #note lack of crash
 [EMAIL PROTECTED]:/tmp$ ghc -ddump-cmm -c Y.hs #note lack of crash

 ==================== Cmm ====================
 section "relreadonly" {
     Y_b_srt:
         const Y_b_closure;
 }

 section "data" {
     Y_b_closure:
         const Y_b_info;
         const 0;
         const 0;
         const 0;
 }

 Y_b_entry() {ghc-6.7.20070712: panic! (the 'impossible' happened)
   (GHC version 6.7.20070712 for i386-unknown-linux):
         TODO: gc_target

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 [EMAIL PROTECTED]:/tmp$
 }}}

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