Debian Codegraph @

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

raw
1 /* PR tree-optimization/47265 */
2
3 struct S
4 {
5 char a[3];
6 char b[3];
7 };
8
9 void
10 bar (char *dst, const char *src, unsigned n)
11 {
12 while (n--)
13 *dst++ = *src ? *src++ : ' ';
14 }
15
16 void
17 foo (struct S *s)
18 {
19 bar (s->a, s->b, 3);
20 }