This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFTesting] New POINTER_DIFF_EXPR


On Fri, 17 Nov 2017, Richard Biener wrote:

> Joseph may have an idea about the address-space issue.

I'm not clear what the question is.  The TR 18037 rule on subtractions 
with address spaces is "For subtraction, if the two operands are pointers 
into different address spaces, the address spaces must overlap." (as a 
constraint).  That should already be checked via comp_target_types, and 
should have nothing to do with this patch.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]