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