view gcc/testsuite/gcc.dg/torture/pr87266-4.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 "-fno-tree-dominator-opts -fno-tree-forwprop" } */

unsigned long int
re (long int j9)
{
  if (j9 == 0)
    return 1;

  return j9;
}

void
zq (int bt, int yy)
{
  int p3 = 0, go = 4, ez = go;

  while (go != 0)
    {
      if (ez + !!bt - re (bt) != 0 && go != 0)
	{
	  if (yy != 0)
	    p3 = yy;
	}
      else
	return;

      go = 2;
    }
}

void
my (unsigned long int n6, int bt, int yy)
{
  zq (bt, yy);
  n6 = n6 == bt;
  zq (bt, yy);
}