[GHC] #12935: Object code produced by GHC is non-deterministic
GHC
ghc-devs at haskell.org
Wed Feb 7 12:28:08 UTC 2018
#12935: Object code produced by GHC is non-deterministic
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by niteria):
@nh: What about collisions?
Uniques are 64 bits on 64 bit systems. 8 bits are taken for the tag, that
leaves us with 56 bits.
You can expect collisions after `2^26` uniques are allocated. That's
`67108864`. It's a pretty small number.
We've definitely seen cases of running out of 24 bits for larger projects.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12935#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list