gcc/testsuite/gcc.dg/memmove-4.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O -fdump-tree-optimized" } */ |
| 3 | |
| 4 | typedef int w __attribute__((mode(word))); |
| 5 | |
| 6 | void b(char *a, char *b, int i) |
| 7 | { |
| 8 | __builtin_memmove (&a[i], &b[i], sizeof(w)); |
| 9 | } |
| 10 | |
| 11 | /* { dg-final { scan-tree-dump-not "memmove" "optimized" { xfail { ! non_strict_align } } } } */ |