#5315: panic in idInfoToAmode with -O
-----------------------------------+----------------------------------------
Reporter: mikhail.vorozhtsov | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: Compile-time crash
-----------------------------------+----------------------------------------
The attached program causes GHC panic:
{{{
$ ghc-7.3.20110710 -O -fforce-recomp HList.hs
[1 of 1] Compiling Main ( HList.hs, HList.o )
ghc: panic! (the 'impossible' happened)
(GHC version 7.3.20110710 for x86_64-unknown-linux):
idInfoToAmode: void ww{v s1UG} [lid]
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
Not passing {{{-O}}} or commenting out {{{hNth (Next p) l = ...}}} makes
the panic disappear.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5315>
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