gcc 2.95.2, bug in gcse?

Jeffrey A Law law@cygnus.com
Tue Mar 14 08:10:00 GMT 2000


  In message < 20000312093902.30868.qmail@d231-95.dial.mistral.co.uk >you write:
  > This seems like a bug in gcc.
  > 
  > int main ()
  > {
  >   long winds = 0;
  > 
  >   while (winds != 0)
  >     {
  >       if (*(char *) winds)
  > 	break;
  >     }
  > 
  >   if (winds == 0 || winds != 0 || *(char *) winds)
  >     abort ();
  > }
I have modified this testcase to fit into our regression testing framework
and added it to the testsuite.
jeff



More information about the Gcc-bugs mailing list