Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr17273.c

raw
1 struct A { int i; };
2 struct B { struct A a; };
3
4 void f(struct A*, struct A*);
5 #define bool _Bool
6
7 void bar(bool b)
8 {
9 struct B * D1601;
10 struct A D1576;
11 struct A * D1593;
12 struct B * D1592;
13 struct B D1575;
14
15 D1575 = (struct B){};
16
17 if (b) D1592 = &D1575; else D1592 = &D1575;
18
19 D1593 = &D1592->a; // <-- we are prograting &D1575 into here.
20 D1576 = (struct A){};
21 f (D1593, &D1576);
22 }