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

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

/* { dg-do compile } */
/* { dg-options "-O" } */

int a, g;
long b, f;
short c, d, e;

static void fn1 ()
{
  if (a)
    {
      long i = 5, j = b / i | c;
      int k = b % (d % i) & j;
      short l = ~f % (-d / j ^ -e), m = e << (d - l);
      if (k)
        m = d;
      i = d | (i & b);
      g = (c | ~f) % i + l;
      e = (c - f) & e;
      d = m;
    }
}

int main ()
{
  b |= 1;
  fn1 ();
  return 0; 
}