#5576: Fix to #5549 breaks integerConstantFolding
----------------------------------+-----------------------------------------
Reporter: daniel.is.fischer | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
----------------------------------+-----------------------------------------
Comment(by daniel.is.fischer):
Nope. `divMod` and `quotRem` get constant-folded (and T5549 breaks) iff
`litSize (LitInteger{}) = 0`.[[BR]]
We need something better to get both goodies.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5576#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs