1 /* Test builtin-memcpy (which may emit different code for different N). */
6 char src
[TESTSIZE
] __attribute__ ((aligned
));
7 char dst
[TESTSIZE
] __attribute__ ((aligned
));
10 check (char *test
, char *match
, int n
)
12 if (memcmp (test
, match
, n
))
17 { memset (dst, 0, n); memcpy (dst, src, n); check (dst, src, n); }
28 for (i
= 0; i
< sizeof (src
); ++i
)
29 src
[i
] = 'a' + i
% 26;