difference in int,long behavior in gcc-3.4 4.0 vs 4.1 4.2
Oleg Verych
olecom@flower.upol.cz
Fri Jun 1 20:10:00 GMT 2007
Hallo.
I have question about `int' silently becoming `long' in 4.1 and 4.2
GCC on AMD64.
`For' loop gets infinity on 3.4, 4.0 due to
int i; // ssize_t => signed long bar; amd64
for (i=0;i<bar;i+=2)...
4.1 and 4.2 are fine!
It's swab() in the dietlibc with at least two bugs, but this one is worth
asking here.
Test, code, compile switches and discussion are here:
Message-ID: <20070531084442.GB7266@flower.upol.cz>
Archived-At: <http://permalink.gmane.org/gmane.linux.lib.dietlibc/1161>
Thanks.
____
More information about the Gcc-help
mailing list