aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr111233.c
blob: 30934033ae0d069a21e2b83877d9801119378d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do run } */
/* { dg-additional-options "-fsplit-loops" } */

int a, c, f;
char b, g;
int *d = &c;
long e;
int main()
{
  for (; e != 25; e++) {
    f = -17;
    for (; f <= 0; f = f + 7) {
      g = f ? 0 : b;
      a = *d;
    }
  }
  if (a != 0)
    __builtin_abort ();
}