[GHC] #12899: ghc panics at random places with -jX

GHC ghc-devs at haskell.org
Fri Dec 16 08:45:22 UTC 2016


#12899: ghc panics at random places with -jX
-------------------------------------+-------------------------------------
        Reporter:  pacak             |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D2844
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 Here's the commit message I believe:

 In [changeset:"0d213c18b6962bb65e2b3035a258dd3f5bf454dd/ghc" 0d213c1/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="0d213c18b6962bb65e2b3035a258dd3f5bf454dd"
 UniqSupply: Use full range of machine word

 Currently uniques are 32-bits wide. 8 of these bits are for the unique
 class, leaving only 24 for the unique number itself. This seems
 dangerously small for a large project. Let's use the full range of the
 native machine word.

 We also add (now largely unnecessary) overflow check to ensure that the
 unique number doesn't overflow.

 Test Plan: Validate

 Reviewers: simonmar, austin, niteria

 Reviewed By: niteria

 Subscribers: mpickering, thomie

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

 GHC Trac Issues: #12944
 }}}

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


More information about the ghc-tickets mailing list