Fix __UINTPTR_TYPE__ definition after r211657

Joerg Sonnenberger joerg at britannica.bec.de
Sun Jul 13 15:10:07 PDT 2014


Hi all,
the attached patch ensures that __INTPTR_TYPE__ and __UINTPTR_TYPE__ are
consistent as the existing logic would pick e.g. long and unsigned int
on ARM. One issue I found during this is that the NVPTX backend is
using unsigned types here, which doesn't make sense to me.

Joerg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uintptr_type.diff
Type: text/x-diff
Size: 10009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140714/acab7693/attachment.diff>


More information about the cfe-commits mailing list