Comment 12 for bug 884407

Revision history for this message
Robie Basak (racb) wrote :

Serge,

ubuntu@panda-test:~$ gcc -o test test.c
ubuntu@panda-test:~$ ./test
char is unsigned

Comparing a char to -1 is undefined, so perhaps it's being optimised away in this case?