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] |
>>> 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. > > I'll pre-approve a patch that changes these two AC_CHECK_TYPE > instances to use the autoconf AC_TYPE_UINTPTR_T and > AC_TYPE_INTPTR_T macros instead. > > > r~ > Like the attached (untested) patch?
Attachment:
b2.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |