[GHC] #7323: decoding GADTs gives internal error: stg_ap_v_ret
GHC
cvs-ghc at haskell.org
Mon Oct 22 18:54:21 CEST 2012
#7323: decoding GADTs gives internal error: stg_ap_v_ret
----------------------------+-----------------------------------------------
Reporter: heisenbug | Owner:
Type: bug | Status: closed
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.7
Resolution: invalid | Keywords:
Os: Linux | Architecture: x86_64 (amd64)
Failure: Runtime crash | Difficulty: Unknown
Testcase: yes | Blockedby:
Blocking: | Related:
----------------------------+-----------------------------------------------
Comment(by int-e):
Interestingly, ghc 7.4.1 used to produce a {{{runTimeError "Impossible
case alternative"}}} for such cases rather than relying on the given value
to be bottom. Is this the result of an optimization (getting rid of
unreachable default branches in case, say) or an actual regression?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7323#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list