☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr101562.c
☽
☼
gcc/testsuite/gcc.c-torture/compile/pr101562.c
code
plain
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
}