summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr55277.c
blob: 0bdcdc47f6cb39e06db5fb4db8e454ea256566d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-O1" } */

int a, c;

void f(long long p)
{
  long long b;

  if(b)
    b = p ? : 0;

  for (; p; p++)
    p *= a & (c = p *= !a < 2);

  a = b += !(b & 3740917449u);
}