
#8832: Constant-folding regression wrt `clearBit (bit 0) 0 ` -------------------------------------+------------------------------------- Reporter: hvr | Owner: bgamari Type: bug | Status: new Priority: high | Milestone: 7.12.1 Component: Core Libraries | Version: 7.8.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Runtime | Test Case: performance bug | simplCore/should_compile/T8832 Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by bgamari): * owner: ekmett => bgamari Comment: I discussed this with Simon during out GHC meeting and we agreed that the best solution here would be to add a `PrelRule` covering `bit`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8832#comment:27 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler