sizeof(long long)
Svein E. Seldal
Svein.Seldal@solidas.com
Tue Nov 19 08:42:00 GMT 2002
Andreas Schwab wrote:
> Since INT_MAX must be at least 32767 this implies that CHAR_BIT is at
> least 16. So sizeof(long long) can be 4 to be still compliant.
Unfortunately it isnt. When the mint8 is used CHAR_MAX=SHORT_MAX=INT_MAX
=127. Thus it wont be compliant on long long, neither is is on the
others because of this INT_MAX >= 32767 property.
BTW: Where are the min/max requirements for INT_MAX etc. defined?
Since this option makes gcc generate uncompliant code, it can as well go
ahead and generate uncompliant code for long long as well...
Svein
More information about the Gcc
mailing list