aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr79284.c
blob: fe62a939b4ec3caf36695ef48dfad46e2604daec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR tree-optimization/79284 */

struct S { unsigned a : 1; } b;
int c[64];

int
foo (int x)
{ 
  char e, f;
  for (e = 63; e; e--)
    f = (c[e] && ~0) != b.a;
  return f;
}