aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr52298.c
blob: f0799c1a5c835d645d4d618dea9dbfc97b232ec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */

int a, b, c, h;

int i[5][5];

void
fn1 ()
{
  int l = 0;

  for (a = 0; a <= 3; a++)
    for (b = 1; b >= 0; b -= 1)
      l |= i[0][b];
  c = l;
}