Fix __UINTPTR_TYPE__ definition after r211657

Joerg Sonnenberger joerg at
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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: uintptr_type.diff
Type: text/x-diff
Size: 10009 bytes
Desc: not available
URL: <>

More information about the cfe-commits mailing list