1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
3 /* { dg-require-effective-target non_strict_align } */
5 int get_int(const void *p
)
8 __builtin_memcpy(&w
, p
, sizeof (int));
12 /* { dg-final { scan-tree-dump-not "memcpy" "optimized" } } */
13 /* { dg-final { scan-tree-dump-times "MEM" 1 "optimized" } } */