This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFTesting] New POINTER_DIFF_EXPR
- From: DJ Delorie <dj at redhat dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: joseph at codesourcery dot com, marc dot glisse at inria dot fr, jason at redhat dot com, jakub at redhat dot com, gcc-patches at gcc dot gnu dot org, uweigand at de dot ibm dot com, enkovich dot gnu at gmail dot com
- Date: Fri, 17 Nov 2017 12:49:06 -0500
- Subject: Re: [RFTesting] New POINTER_DIFF_EXPR
- Authentication-results: sourceware.org; auth=none
Richard Biener <richard.guenther@gmail.com> writes:
> The question is what ptrdiff_t is for a specific address space. Or
> rather if that type may be dependent on the address space or if we can
> always use that of the default address space.
Some targets have a "far" address space that's bigger than the default.
rl78 for example has a 16-bit default pointer and a 32-bit far pointer.