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: REG_INC notes going AWOL during reload



  > I missed the test program in Michael Hayes bug report. I did sent it
  > to him so here it is:
  > 
  > char line[4] = { '1', '9', '9', '\0' };
  > 
  > int main()
  > {
  >   char *ptr = line + 3;
  > 
  >   while ((*--ptr += 1) > '9') *ptr = '0';
  >   if (line[0] != '2' || line[1] != '0' || line[2] != '0')
  >     abort();
  >   return 0;
  > }
Thanks.  Installed.
jeff


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