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

GHC ghc-devs at haskell.org
Tue Jul 15 11:21:47 UTC 2014


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

 * priority:  normal => high


Comment:

 The bug is fixed.  The only issue is that the test has some 64-bit stuff
 in it, and on a 32-bit machine that doesn't constant-fold.  Which is
 probably fine.

 To close the ticket we just need to make the test depend on whether we are
 on a 64-bit machine.  I don't know how to do that, but it can't be hard.
 Could someone do it?

 I'll make it "high" priority to get it some attention, rather than because
 it's terribly important.

 Simon

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


More information about the ghc-tickets mailing list