[Bug target/68456] UINT32_TYPE is long unsigned for 32bit targets

vaalfreja at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Nov 20 13:57:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68456

--- Comment #3 from Yulia Koval <vaalfreja at gmail dot com> ---
I agree, that %u usage is not a bug, but it still looks strange..

For gcc --target=i586-elf <built-in> macro has:
#define __UINT32_TYPE__ long unsigned int

For non-target gcc or gcc --target=i586-unknown-linux it has:
#define __UINT32_TYPE__ unsigned int

And this behaviour is changed by a header, called "newlib-stdint"..


More information about the Gcc-bugs mailing list