Debian Codegraph @

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

raw
1 /* PR middle-end/101437 */
2
3 struct S { int : 1; };
4
5 void
6 foo (volatile struct S *p)
7 {
8 struct S s = {};
9 *p = s;
10 }
11
12 void
13 bar (volatile struct S *p)
14 {
15 *p;
16 }
17
18 void
19 baz (volatile struct S *p)
20 {
21 struct S s;
22 s = *p;
23 }
24
25 void
26 qux (volatile struct S *p, volatile struct S *q)
27 {
28 *p = *q;
29 }