view gcc/testsuite/gcc.c-torture/compile/pr81595.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line source

/* PR rtl-optimization/81595 */

void
foo (__INTPTR_TYPE__ *x, int *y, int *z, int u, int v)
{
  while (u != 0)
    {
      if (*x != 0)
	{
	  int a = 1;
 l1:
	  if (*y != 0)
	    {
	      while (a < 2)
		{
		  a = 0;
		  x = (__INTPTR_TYPE__ *)&x;
 l2:
		  ++a;
		}
	      while (*z != 0)
		;
	    }
	  a /= 0;
	}
      else
	{
	  *z /= (*z != 0) ? 2 : 0;
	  while (v < 1)
	    {
	      *y = 0;
	      if (v != 0)
		goto l1;
	      ++v;
	    }
	  goto l2;
	}
    }
}