
#9031: ghc panic: RegAlloc.Liveness.computeLivenss ---------------------------------------+----------------------------------- Reporter: jwlato | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Compile-time crash | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ---------------------------------------+----------------------------------- Comment (by phaul): Hi, I think I am hitting the same issue after upgrading from 7.6.3 to 7.8.2. Previously the same code was building fine. I have my code on github. https://github.com/phaul/chess/tree/ghc-7.8.2. (You need the ghc-7.8.2 branch) The problematic module is '''Chess.Move.Generator'''. I get: {{{ [18 of 30] Compiling Chess.Move.Generator ( Chess/Move/Generator.hs, dist/build/chess/chess-tmp/Chess/Move/Generator.o ) ghc: panic! (the 'impossible' happened) (GHC version 7.8.2 for i386-unknown-linux): RegAlloc.Liveness.computeLivenss SCCs aren't in reverse dependent order bad blockId c1AEd [NONREC c1AEI: }}} Can you try to use my code to reproduce the issue? Thanks Paul. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9031#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler