[GHC] #8832: Constant-folding regression wrt `clearBit (bit 0) 0 `

GHC ghc-devs at haskell.org
Mon Mar 24 15:31:12 UTC 2014


#8832: Constant-folding regression wrt `clearBit (bit 0) 0 `
-------------------------------------------------+-------------------------
        Reporter:  hvr                           |            Owner:
            Type:  bug                           |           Status:  new
        Priority:  normal                        |        Milestone:
       Component:  Compiler                      |          Version:
      Resolution:                                |  7.8.1-rc2
Operating System:  Unknown/Multiple              |         Keywords:
 Type of failure:  Runtime performance bug       |     Architecture:
       Test Case:                                |  Unknown/Multiple
  simplCore/should_compile/T8832                 |       Difficulty:
        Blocking:                                |  Unknown
                                                 |       Blocked By:
                                                 |  Related Tickets:
-------------------------------------------------+-------------------------
Changes (by simonpj):

 * owner:  simonpj =>
 * status:  closed => new
 * resolution:  fixed =>


Comment:

 The test fails on 32-bit machines, because we don't have 64-bit primops on
 a 32-bit machine, so the constant folding doesn't work.

 Maybe we should have 64-bit primops on a 32-bit machine, but that's a
 separate story.

 Meanwhile, we need to fix the test so that it omits the 64-bit test on
 32-bit machines. Austin can you do this, post release?

 Simon

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8832#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list