1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3 /* { dg-final { scan-tree-dump-times "memmove" 0 "optimized" } } */
4 static const char a
[100]={1,2,3,4};
8 __attribute__ ((always_inline
))
9 domem (void *dest
, const void *src
, int len
)
11 __builtin_memmove (dest
, src
, len
);
17 domem (b
+i1
,(const void *)b
,1);