On 02/03/2016 06:05 PM, Richard Biener wrote: I wasn't aware that STRIP_NOPS strips ADDR_SPACE_CONVERT_EXPR.
Isn't this maybe failing to use that (unable to look at the attachment from my phone).
The test case does fail to use ADDR_SPACE_CONVERT_EXPR. Perhaps it's because of the intermediate cast to uintptr_t? Of course, for this case, the intermediate cast is required because __seg_[fg]s are *not* subsets of ADDR_SPACE_GENERIC, and thus a direct cast between the pointer types results in an error message. r~