Debian Codegraph @

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

raw
1 /* PR rtl-optimization/101562 */
2
3 struct S { char c; };
4 void baz (struct S a, struct S b);
5
6 void
7 foo (void)
8 {
9 struct S x[1];
10 *(short *)&x[0] = 256;
11 baz (x[0], x[1]);
12 }
13
14 void
15 bar (void)
16 {
17 struct S x[1];
18 x[0].c = 0;
19 x[1].c = 1;
20 baz (x[0], x[1]);
21 }