view gcc/testsuite/gcc.c-torture/execute/pr62151.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR rtl-optimization/62151 */

int a, c, d, e, f, g, h, i;
short b;

int
fn1 ()
{
  b = 0;
  for (;;)
    {
      int j[2];
      j[f] = 0;
      if (h)
	d = 0;
      else
	{
	  for (; f; f++)
	    ;
	  for (a = 0; a < 1; a++)
	    for (;;)
	      {
		i = b & ((b ^ 1) & 83647) ? b : b - 1;
		g = 1 ? i : 0;
		e = j[0];
		if (c)
		  break;
		return 0;
	      }
	}
    }
}

int
main ()
{
  fn1 ();
  if (g != -1)
    __builtin_abort ();
  return 0;
}