view gcc/testsuite/gcc.dg/pr88427.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-O2 -fno-tree-dce -fno-tree-fre -Wno-div-by-zero" } */

void
uj (int eq, int s4)
{
  short int tm = 0;

  for (;;)
    if (eq == s4)
      {
	tm += !!s4;
	if (tm == s4)
	  {
	    eq += tm;
	    for (;;)
	      eq /= 0;
	  }
      }
}