view gcc/testsuite/gcc.dg/pr56466.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

/* PR rtl-optimization/56466 */
/* { dg-do compile } */
/* { dg-options "-O2 -w -funroll-loops" } */

int a, b, c;

void
f (void)
{
  for (; b; b++)
    {
      if (0)
	for (; b < 0; b++)
	  if (1 % 0)
	    {
	      while (1)
		{
		  a = 0;
		lbl1:
		  c++;
		}
	    lbl2:
	      ;
	    }

      goto lbl1;
    }

  a = 0;
  goto lbl2;
}