[Bug tree-optimization/23817] ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:398

belyshev at depni dot sinp dot msu dot ru gcc-bugzilla@gcc.gnu.org
Sun Sep 11 10:39:00 GMT 2005


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-09-11 10:39 -------
// another testcase, compile with -O3

int b;
void foo1 (int);

void foo (void)
{
  int i, j, k, l;
  short v;
  for (i = 0; i < 10; i ++)
    {
      for (l = 0; l < 10; l++)
	{
	  asm volatile ("\n" : "=a" (v));
	  j = v;
	  if (j)
	    {
	      k = 1;
	      goto out;
	    }
	}
      if (b)
	foo1 (j);
      k = 0;
    out:
      if (!k)
	return;
    }
}


-- 


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



More information about the Gcc-bugs mailing list