Hi Dimitar,

This patch broke avr and pru-elf cross builds:
   gcc/libgcc/unwind-dw2-fde.c:680:28: error: unknown type name ‘uintptr_t’
   680 |                            uintptr_t *range)

Should uintptr_t be replaced with __UINTPTR_TYPE__? Such change fixes the
above broken builds for me. But I'm not sure how valid it is for that
part of libgcc.

thanks for notifying me, I was not aware that uintptr_t is not available on all platforms. After looking at the existing code I think __UINTPTR_TYPE__ is the correct substitute. I will do some more testing and commit an s/uintptr_t/__UINTPTR_TYPE__/ patch soon. (I will probably use a typedef, as seen in generic-morestack.c, to avoid uglifying the code).

Best

Thomas

Reply via email to