Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr106892.c

raw
1 /* { dg-do run } */
2
3 int a, b, c, d, e;
4 int f[8];
5 static int g() {
6 while (a)
7 a >>= 4;
8 return 0;
9 }
10 static int h(int i) {
11 if (i >= '0')
12 return i - '0';
13 //__builtin_unreachable ();
14 }
15 void __attribute__((noipa)) j(int i) {
16 for (b = 2; g() <= 7; b++)
17 if (i) {
18 for (; e <= 7; e++)
19 for (c = 1; c <= 7; c++) {
20 d = h(b + '0');
21 f[-d + 4] ^= 3;
22 }
23 return;
24 }
25 }
26 int main() {
27 j(1);
28 if (f[2] != 0)
29 __builtin_abort ();
30 }