view gcc/testsuite/gcc.c-torture/compile/921011-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

/* { dg-skip-if "ptxas times out" { nvptx-*-* } { "-O1" } { "" } } */

void
fun (nb)
     int nb;
{
  int th, h, em, nlwm, nlwS, nlw, sy;

  while (nb--)
    while (h--)
      {
	nlw = nlwm;
	while (nlw)
	  {
	    if (nlwS == 1)
	      {
	      }
	    else
	      if (nlwS == 1)
		{
		}
	    nlwS--; nlw--;
	  }
	if (em)
	  nlwS--;
	if (++sy == th)
	  sy = 0;
      }
}