view gcc/testsuite/gcc.dg/torture/pr87349-1.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 } */

void
h1 (int *fh, int pw)
{
  *fh = 0;
  if (*fh != 0)
    for (;;)
      {
	fh = &pw;

	if (pw == 0)
	  {
	  }
	else
	  while (pw < 1)
	    {
	      if (pw == 0)
		{
ut:
		  ;
		}

	      ++pw;
	    }

	if (pw == 0)
	  goto ut;
      }

  goto ut;
}