[AArch64] Merge stores of D-register values with different modes
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr51077.c
blobde2b97e58e96b6e0079b64e7453fe1d2f5a9b11b
1 /* PR middle-end/51077 */
3 struct S { unsigned char s, t[256]; };
5 void
6 foo (const struct S *x, struct S *y, int z)
8 int i;
9 for (i = 0; i < 8; i++)
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];