patch applied (ghc): Fix for T3286 in new codegen (related to
T3132); plus formatting
John Dias
dias at eecs.harvard.edu
Wed Nov 11 18:44:11 EST 2009
Fri Sep 18 11:31:22 PDT 2009 dias at cs.tufts.edu
* Fix for T3286 in new codegen (related to T3132); plus formatting
Ignore-this: c23b1aed37be610552a7dba6d32cd923
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.
M ./compiler/codeGen/StgCmmExpr.hs -14 +37
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090918183122-a3835-6f98ebd9832d6d7783c36f10708bf3ab80dd39af.gz
More information about the Cvs-ghc
mailing list