
#10176: Invalid core generated with GHC 7.10 RC3
-------------------------------------+-------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.10.1
Component: Compiler | Version: 7.10.1-rc3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by NeilMitchell):
Running {{{ghc -outputdir obj -O -ddump-simpl Buggy.hs}}} produces the
output:
{{{
case (\ _ [Occ=Dead] _ [Occ=Dead, OS=OneShot] ->
case lvl_r1lh unit_XyJ of wild2_00 { })
`cast` ((<()>_R -> Sym (GHC.Types.NTCo:IO[0]