summaryrefslogtreecommitdiff
path: root/compiler/codeGen/CgExtCode.hs
diff options
context:
space:
mode:
authordias@cs.tufts.edu <unknown>2009-09-18 18:31:22 +0000
committerdias@cs.tufts.edu <unknown>2009-09-18 18:31:22 +0000
commite4622dac19c0ea5ba60078667c57e03801cdc943 (patch)
tree44d558d3505ce8f5199f6badc184f4d0c1ba71c8 /compiler/codeGen/CgExtCode.hs
parent3aa09c8562ca80b8c402c6950ceea49e49c75210 (diff)
downloadhaskell-e4622dac19c0ea5ba60078667c57e03801cdc943.tar.gz
Fix for T3286 in new codegen (related to T3132); plus formatting
If the scrutinee is bottom, the generated Cmm code could have a type error when the case arm expected an unboxed floating-point value (even though the arm should never be reached). Now, we detect this case and avoid producing the type-incorrect assignment.
Diffstat (limited to 'compiler/codeGen/CgExtCode.hs')
0 files changed, 0 insertions, 0 deletions