Debian Codegraph @

gcc/testsuite/gcc.dg/lto/pr113359-4_1.c

raw
1 #define CI 0xdeadbeef
2 #define CL1 0xdeaddead1234beef
3 #define CL2 0xdead1234deadbeef
4
5 struct AA
6 {
7 unsigned int ax;
8 unsigned long ay;
9 unsigned long az;
10 };
11
12 struct SA
13 {
14 int p;
15 struct AA arr[2];
16 };
17
18 struct ZA
19 {
20 struct SA s;
21 short q;
22 };
23
24 struct AB
25 {
26 unsigned long bx;
27 unsigned long by;
28 unsigned int bz;
29 };
30
31 struct SB
32 {
33 int p;
34 struct AB arr[2];
35 };
36
37 struct ZB
38 {
39 struct SB s;
40 short q;
41 };
42
43
44 void __attribute__((noinline))
45 getb (struct SB *d, struct ZB *p)
46 {
47 struct SB tmp = p->s;
48 *d = tmp;
49 }