Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
111 | 1 /* PR middle-end/51077 */ |
2 | |
3 struct S { unsigned char s, t[256]; }; | |
4 | |
5 void | |
6 foo (const struct S *x, struct S *y, int z) | |
7 { | |
8 int i; | |
9 for (i = 0; i < 8; i++) | |
10 { | |
11 const struct S *a = &x[i]; | |
12 __builtin___memcpy_chk (y->t, a->t, z, __builtin_object_size (y->t, 0)); | |
13 y = (struct S *) &y->t[z]; | |
14 } | |
15 } |