Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr117113.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-fno-tree-dce -fno-inline" } */
3
4 int a, b, c;
5 volatile int d[1];
6 void e() {}
7 void f(int g) {}
8 int main() {
9 int i;
10 for (; b; b--) {
11 for (i = 0; i < 3; i++) {
12 e();
13 f(d[0]);
14 d[0];
15 }
16 if (a)
17 c++;
18 }
19 return 0;
20 }