Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / memcpy-3.c
blob686668de10f9cfbf4e1067309b6490ca561e098f
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)
7 int w;
8 __builtin_memcpy(&w, p, sizeof (int));
9 return w;
12 /* { dg-final { scan-tree-dump-not "memcpy" "optimized" } } */
13 /* { dg-final { scan-tree-dump-times "MEM" 1 "optimized" } } */