http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55481



--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> 2012-11-28 
15:14:20 UTC ---

Testcase that fails (infinite loop) with both the C and the C++ frontend at

-O2:



int main()

{

  signed char result = 0;

  int n;

  for (n = 0; n < 13; ++n)

    {

      int tem = result;

      tem = tem + 31;

      result = tem;

    }

  if (result != -109)

    __builtin_abort ();

  return 0;

}

Reply via email to