[GHC] #13172: scrutinee constant folding produces wrong answer when remapped values are out of bounds

GHC ghc-devs at haskell.org
Tue Jan 24 03:44:56 UTC 2017


#13172: scrutinee constant folding produces wrong answer when remapped values are
out of bounds
-------------------------------------+-------------------------------------
        Reporter:  rwbarton          |                Owner:
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:
       Component:  Compiler          |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3009
       Wiki Page:                    |
-------------------------------------+-------------------------------------

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

 In [changeset:"53e2e70a477896d57059b5f12147b69d22a2e2e0/ghc"
 53e2e70a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="53e2e70a477896d57059b5f12147b69d22a2e2e0"
 Ensure that scrutinee constant folding wraps numbers

 Test Plan: T13172

 Reviewers: rwbarton, simonpj, austin, bgamari

 Reviewed By: simonpj, bgamari

 Subscribers: simonpj, thomie

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

 GHC Trac Issues: #13172
 }}}

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


More information about the ghc-tickets mailing list