Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr117574-1.c

raw
1 /* { dg-do run } */
2
3 void abort (void);
4 int a, c;
5 long b;
6 short d;
7 static long e(long f, long h, long i) {
8 for (long g = f; g <= h; g += i)
9 b += g;
10 return b;
11 }
12 int main() {
13 c = 1;
14 for (; c >= 0; c--)
15 ;
16 for (; e(d + 40, d + 76, c + 51) < 4;)
17 ;
18 if (a != 0)
19 abort ();
20 }