Fix Trac #3118: missing alternative
authorsimonpj@microsoft.com <unknown>
Thu, 2 Apr 2009 15:28:34 +0000 (15:28 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 2 Apr 2009 15:28:34 +0000 (15:28 +0000)
commit9414bda057e8ac8422ca5590c8500c7cdee323bb
treead61c9dae849cd3bb3032785a60acdcce5da1e8a
parenta11662957fa688997e6c4befff44e7efe94c2db8
Fix Trac #3118: missing alternative

This patch fixes a rather obscure bug, whereby it's possible
for (case C a b of <alts>) to have altenatives that do not inclue
(C a b)!  See Note [Unreachable code] in CoreUtils.
compiler/basicTypes/MkId.lhs
compiler/coreSyn/CoreUtils.lhs
compiler/simplCore/Simplify.lhs
compiler/specialise/SpecConstr.lhs