1 /* { dg-do compile } */
2 /* { dg-require-effective-target non_strict_align } */
3 /* { dg-options "-O -fdump-tree-ssa" } */
4 
set_lowpart(unsigned int const * X)5 unsigned int set_lowpart (unsigned int const *X)
6 {
7   unsigned int r = 0;
8   __builtin_memcpy(&r,X,sizeof (unsigned int) / 2);
9   return r;
10 }
11 
12 /* { dg-final { scan-tree-dump "No longer having address taken: r" "ssa" } } */
13