view gcc/testsuite/gcc.dg/torture/pr87169.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 84e7813d76e9
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-additional-options "--param rpo-vn-max-loop-depth=7" } */

int a, b, c;

int main ()
{ 
  int d;
  b = 1;
L1:
  for (; b > 1;)
    goto L2;
    { 
      int e[1];
L3:;
    }
L2:
  while (a)
    { 
      d--;
      goto L1;
    }
  while (c)
    { 
      if (a)
	goto L3;
      if (a)
	break;
      if (a)
	goto L2;
      while (c)
	while (c)
	  while (c)
	    while (c)
	      while (c)
		while (c)
		  while (c)
		    ;
    }
  return 0;
}