view gcc/testsuite/gcc.dg/torture/pr63800.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile } */

int a, b, c, d[2];

int
fn1 ()
{
  int f = 0;
  d[1] = b = 1; 
  for (; b; b--)
    {
      for (c = 0; c < 2; c++)
	{
	  d[b] & 1 & b;
	  if (d[0])
	    f = d[b] * a;
	  if (f)
	    return 0;
	}
      d[b] && (d[0] = 0);
    }
  return 0;
}