------- Comment #4 from mhx-perl at gmx dot net 2006-04-18 13:26 ------- Subject: Re: hex and oct constants are converted to wrong type
On 2006-04-18, at 11:22:00 -0000, joseph at codesourcery dot com wrote: > 142) Thus, on an implementation where INT_MAX is 0x7FFF and UINT_MAX is > 0xFFFF, the constant 0x8000 is signed and positive within a #if > expression even though it would be unsigned in translation phase 7. Thanks for that quote! So it's the Intel compiler that is actually wrong (even though its behaviour seemed more consistent to me in the first place), as it reuses the system's stdint.h, which defines intmax_t and uintmax_t as 64-bit types. Thanks again and sorry for the bogus report, Marcus -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27195