annotate gcc/testsuite/gcc.c-torture/compile/pr51077.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* PR middle-end/51077 */
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 struct S { unsigned char s, t[256]; };
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 void
kono
parents:
diff changeset
6 foo (const struct S *x, struct S *y, int z)
kono
parents:
diff changeset
7 {
kono
parents:
diff changeset
8 int i;
kono
parents:
diff changeset
9 for (i = 0; i < 8; i++)
kono
parents:
diff changeset
10 {
kono
parents:
diff changeset
11 const struct S *a = &x[i];
kono
parents:
diff changeset
12 __builtin___memcpy_chk (y->t, a->t, z, __builtin_object_size (y->t, 0));
kono
parents:
diff changeset
13 y = (struct S *) &y->t[z];
kono
parents:
diff changeset
14 }
kono
parents:
diff changeset
15 }