aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr116795-1.c
blob: 629bdf4bacdafdc1418e560a3ab008699813140c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O3" } */

volatile int a, b;
int c;
int main() {
  unsigned e = 0;
  for (; e < 2; e++) {
    a && b;
    if (c)
      e = -(c ^ e);
  }
  return 0;
}