aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr107273-1.c
blob: db2e2c0da559ccac398d9e102943c6964cf6ceae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* { dg-do run } */
/* { dg-options "-O3" } */

int printf(const char *, ...);
int a[1] = {1};
short b, c = 5500;
int d;
long e;
char f = 1;
int main() {
  while (1) {
    long g = b < 1;
    e = g;
    break;
  }
  for (; f; f--) {
    if (e) {
      d = -(6L | -(c & 1000));
    }
    char h = d;
    if (b)
      b = 0;
    if (d < 200)
      while (1)
        printf("%d", a[c]);
    short i = h * 210;
    c = i;
  }
  return 0;
}