
#8299: Add richer data model address arithmetic: AddrDiff and AddrInt (ie d
Int_ptr_diff and Int_ptr_size)
----------------------------+----------------------------------------------
Reporter: carter | Owner:
Type: feature | Status: new
request | Milestone: 7.10.1
Priority: high | Version: 7.6.3
Component: | Keywords:
Compiler | Architecture: Unknown/Multiple
Resolution: | Difficulty: Project (more than a week)
Operating System: | Blocked By:
Unknown/Multiple | Related Tickets:
Type of failure: |
None/Unknown |
Test Case: |
Blocking: 8287 |
----------------------------+----------------------------------------------
Comment (by carter):
Reid Barton (who's been experimenting with an x32 ABI) made an observation
yesterday evening on IRC #ghc about address vs int sizes for ghc
{{{
[09:24:34] <rwbarton> ugh, I didn't think about the fact that integer-
gmp exposes its representation to the world
[09:24:43] <rwbarton> that means potentially anybody is assuming that
Int is the same size as mp_limb_t
[09:24:47]