[GHC] #11702: Constant folding on 'mod/Word' - incorrect result

GHC ghc-devs at haskell.org
Sun Mar 20 16:32:56 UTC 2016


#11702: Constant folding on 'mod/Word' - incorrect result
-------------------------------------+-------------------------------------
        Reporter:  ondrap            |                Owner:  bgamari
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Prelude           |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2004
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"3ddfcc95cd41dac19c8f4d55e8fc03128b77b738/ghc"
 3ddfcc95/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="3ddfcc95cd41dac19c8f4d55e8fc03128b77b738"
 PrelRules: Fix constant folding for WordRemOp

 Test Plan: Validate with testcase in D2002

 Reviewers: austin, simonpj

 Reviewed By: simonpj

 Subscribers: simonpj, thomie

 Differential Revision: https://phabricator.haskell.org/D2004

 GHC Trac Issues: #11702
 }}}

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


More information about the ghc-tickets mailing list