2 /* { dg-options "-O2 -mstringop-strategy=unrolled_loop -mtune=nocona" } */
4 #define PATTERN 0xdeadbeef
7 struct S
{ int i
; char str
[SIZE
]; int j
; };
9 void __attribute__((noclone
, noinline
))
10 my_memcpy (char *, const char *, unsigned int);
13 my_memcpy (char *dst
, const char *src
, unsigned int len
)
18 __builtin_memcpy (dst
, src
, len
);
24 const char str
[SIZE
]= "1234567890123456789012345678901";
25 struct S
*s
= __builtin_malloc (sizeof (struct S
));
28 my_memcpy (s
->str
, str
, SIZE
);