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