[GHC] #15502: -ddump-splices truncates Integer literals to Int literals

GHC ghc-devs at haskell.org
Fri Sep 14 12:39:39 UTC 2018


#15502: -ddump-splices truncates Integer literals to Int literals
-------------------------------------+-------------------------------------
        Reporter:  ChaiTRex          |                Owner:  (none)
            Type:  bug               |               Status:  merge
        Priority:  high              |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      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:D5089,
       Wiki Page:                    |  Phab:D5151
-------------------------------------+-------------------------------------

Comment (by Krzysztof Gogolewski <krz.gogolewski@…>):

 In [changeset:"ecbe26b6966a3a64f4e22e862370536b1dd4440f/ghc" ecbe26b/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ecbe26b6966a3a64f4e22e862370536b1dd4440f"
 Fix T15502 on 32-bit

 Summary:
 The expected output uses a hardcoded value for
 maxBound :: Int.

 This should fix one of circleci failures on i386.

 Test Plan: make test TEST=T15502

 Reviewers: RyanGlScott, bgamari

 Reviewed By: RyanGlScott

 Subscribers: rwbarton, carter

 GHC Trac Issues: #15502

 Differential Revision: https://phabricator.haskell.org/D5151
 }}}

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


More information about the ghc-tickets mailing list