view gcc/testsuite/gcc.dg/torture/pr87176.c @ 131:84e7813d76e9

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

/* { dg-do run } */

int a, b, c;

int main ()
{
  int d = a = 0;
  while (1)
    {
      a = a ^ 6;
      if (!a)
	break;
      if (d)
	goto L;
      d = a;
      for (b = 0; b < 2; b++)
	{
	  const int *f[3] = { &c };
	  const int **g[] = { &f[2] };
	  int h = ~d;
	  if (d)
	    L:
		if (h > 1)
		  continue;
	}
    }
  return 0;
}