This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [Revised] libiberty hashtab.c:hash_pointer() needs intptr_t
> AC_CHECK_TYPE(intptr_t, long)
>
> and this is wrong for LLP64 targets (likewise the existing uintptr_t check).
The one LLP64 target that needs this patch is win64 and
it already has a proper stdint.h providing a correct (u)intptr_t.
In general, however, your are right about the incorrectness
of the long default type in AC_CHECK_TYPE, but the patch
just followed the existing uintptr_t check.
--
Ozkan