Basile Starynkevitch <bas...@starynkevitch.net> writes:

> This brings another question. Can a GCC pass use intptr_t (the standard int 
> of the same
> size as a void* pointer)? This is quite useful, for instance when one wants 
> to compute an
> hash, or a unique sorted rank (to be used inside B-trees) from the address of 
> a gimple
> or a tree.

Yes.  There are a number of uses of intptr_t already in the gcc source
code.  We can get away with this because the configure script uses
AC_TYPE_INTPTR_T (via GCC_STDINT_TYPES).

Ian

Reply via email to