This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc 2.95.2, bug in gcse?



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]