The MSP430 target supports both 16-bit and 20-bit size_t and intptr_t. Some implicit casts in Newlib expect these types to be "long", (a 32-bit type on MSP430) which causes warnings during compilation such as: "cast from pointer to integer of different size" Successfully regtested the GCC and G++ testsuite for msp430-elf in the default, -mlarge, -mcpu=msp430 and -mlarge/mcode-region=either/-mdata-region=either configurations. These fixes don't actually change any of the testresults. If the patch is acceptable, I would appreciate if someone would commit it for me, as I do not have write access. Thanks, Jozef