Ticket #1582 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

impossible: TODO: gc_target

Reported by: sorear Owned by:
Component: Compiler Version: 6.7
Keywords: Cc:
Operating System: Linux
Test Case: Architecture: x86
Type of failure:

Description

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$ 

Change History

Changed 3 years ago by sorear

The second '#note lack of crash' was a simple line editing error.

Changed 3 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

crashing code temporarily commented out, this is work in progress.

Note: See TracTickets for help on using tickets.