Skip to content

impossible: TODO: gc_target

stefan@stefans:/tmp$ cat Y.hs
module Y(a,b) where

a = a

b ::Bool
b = b
stefan@stefans:/tmp$ ghc -fforce-recomp -c Y.hs #note lack of crash
stefan@stefans:/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

stefan@stefans:/tmp$ 
Trac metadata
Trac field Value
Version 6.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information