Handle peeling for alignment with masking
[official-gcc.git] / gcc / testsuite / gcc.dg / memmove-4.c
blob5949aaa30c5b588821de651fd7e38977922169b8
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
4 typedef int w __attribute__((mode(word)));
6 void b(char *a, char *b, int i)
8 __builtin_memmove (&a[i], &b[i], sizeof(w));
11 /* { dg-final { scan-tree-dump-not "memmove" "optimized" { xfail { ! non_strict_align } } } } */