From: umisef@foobar.hanse.de Subject: Bug in linux-gcc 2.4.3? Date: Wed, 28 Jul 1993 12:28:28 GMT
I think I've hit a bug in gcc 2.4.3. The following part of a program will
send the compiler into an endless, CPU-consuming loop:
========================schnipp=============================
CarversGroup(char *s)
{
int tmp;
tmp = (strcicmp(s, "CARVER") == 0) | (strcicmp(s, "MASS") == 0) |
(strcicmp(s, "STEVE") == 0) | (strcicmp(s, "DICK") == 0) |
(strcicmp(s, "JIM") == 0) | (strcicmp(s, "SYLVIE") == 0) |
(strcicmp(s, "LAZZARO") == 0) | (strcicmp(s, "MICHAEL") == 0) |
(strcicmp(s, "MISHA") == 0) | (strcicmp(s, "MARYANN") == 0) |
(strcicmp(s, "TOBI") == 0) | (strcicmp(s, "LEMON") == 0) |
(strcicmp(s, "BENSON") == 0) | (strcicmp(s, "HARRIS") == 0) |
(strcicmp(s, "JLUO") == 0) | (strcicmp(s, "DAKERNS") == 0) |
(strcicmp(s, "ANDY") == 0) | (strcicmp(s, "GRACET") == 0) |
(strcicmp(s, "LLOYD") == 0);
return tmp;
}
=====================schnapp===============================
As I'm away from everything else, I have no way of telling if this
bug is gone in 2.4.5, or is existant on other platforms.
Bernie