aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr115197.c
blob: 00d674b3bd9a621349d3f91e1fb0e4ab6ba0286d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O1 -fno-tree-scev-cprop -ftree-pre -ftree-loop-distribute-patterns" } */

int a, b[2], c, d, e, f[2];
int main() {
  while (a)
    if (d) {
      if (e)
        return 0;
      for (; c; c++)
        f[c] = 0 < (b[c] = ~(f[c + 1] < a));
    }
  return 0;
}