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

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

/* { dg-do run } */

int a, b, c, d, e, f, g[4];

static int fn1 ()
{
  int h, i;
  if (b)
    goto L1;
L2:;
   int m = a;
   while (1)
     {
       int n = 2;
       e = !f && (n = 5);
       if (e)
	 for (h = 0; h < 9; h++)
	   for (i = 0; i < 6; i++)
	     if (a)
	       g[h] = 4;
       if (d)
	 goto L2;
       a & n || b;
L1:
       if (a)
	 L3:
	     c = m;
       if (a)
	 goto L3;
       if (b < 5)
	 return 0;
     }
}

int main ()
{
  fn1 ();
  return 0; 
}