On 07/20/2013 10:27 AM, Jakub Jelinek wrote:
So, the middle-end can only use some other type, say build_nonstandard_integer_type (POINTER_SIZE, 1); which often will be the same type as uintptr_type_node, but perhaps not on all targets. It could be worth to create such a type in tree.c and stick it into global trees and then just use, but right now all the uses are just in asan.c and ubsan.c.
Let's do that; I expect it will be useful in other situations, too. Jason