George Guiniski (aka the guy who disclosed those OpenBSD kernel bugs, annoying blackhats everywhere) pointed out a
gcc bug: $ gcc --version
2.95.3
$ cat gcc-crash.c
int main(void)
{
printf("%c","msux"[0xcafebabe]);
}
$ gcc gcc-crash.c
gcc: Internal compiler error: program cc1 got fatal signal 11
After wallowing through the fud someone finally
(
Read more... )
Comments 1
My (C-language-lawyer) prof was just telling me yesterday that the C spec says that the array subscript operator takes an unsigned integer, but I doubt that actually translates to machine code(?).
Reply
Leave a comment