Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr110491.c

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