PR c/64856
[official-gcc.git] / gcc / testsuite / gcc.dg / memmove-4.c
blob120a4db219e3b28f1dca666c995de0bb9f763f3c
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 } } } } */
12 /* { dg-final { cleanup-tree-dump "optimized" } } */