[GHC] #8832: Constant-folding regression wrt `clearBit (bit 0) 0 `
GHC
ghc-devs at haskell.org
Tue Aug 19 09:29:38 UTC 2014
#8832: Constant-folding regression wrt `clearBit (bit 0) 0 `
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: thoughtpolice
Type: bug | Status: closed
Priority: high | Milestone: 7.10.1
Component: Compiler | Version: 7.8.1-rc2
Resolution: fixed | Keywords:
Operating System: | Architecture: Unknown/Multiple
Unknown/Multiple | Difficulty: Unknown
Type of failure: Runtime | Blocked By:
performance bug | Related Tickets:
Test Case: |
simplCore/should_compile/T8832 |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by hvr):
Replying to [comment:15 Reid Barton <rwbarton@…>]:
> In [changeset:"a72614c40186521da7ba090b102436e61a80b7a7/ghc"]:
> {{{
> #!CommitTicketReference repository="ghc"
revision="a72614c40186521da7ba090b102436e61a80b7a7"
> Make T8832 operative on 32-bit systems (#8832)
>
> (Also, the 'extra_clean' was unnecessary.)
> }}}
Btw, now that I saw that commit, I've seen other testcases making use of
the pre-defined `SIZEOF_HSWORD` (and there's also `WORD_SIZE_IN_BITS`) CPP
symbol to test for wordsize. Would that have worked as well?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8832#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list