1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 /* { dg-final { scan-tree-dump-times "memmove" 3 "optimized" } } */
6 struct A
{ char a
[30]; };
9 foo (struct A
*p
, char *q
, char *r
)
12 __builtin_memmove (&a
[1], &a
[19], 20);
13 __builtin_memmove (&p
->a
[1], &p
->a
[9], 10);
14 __builtin_memmove (q
, r
, 9);