1/* PR middle-end/39315  */
2/* { dg-do compile } */
3/* { dg-options "-O -msse2 -mtune=generic" } */
4/* { dg-require-effective-target sse2 } */
5/* { dg-final { scan-assembler-not "movups" } } */
6/* { dg-final { scan-assembler-not "movlps" } } */
7/* { dg-final { scan-assembler-not "movhps" } } */
8/* { dg-final { scan-assembler "movaps" } } */
9
10typedef float __m128 __attribute__ ((__vector_size__ (16)));
11
12extern void bar (__m128 *);
13
14void
15foo (__m128 *x)
16{
17  __m128 b = *x;
18  bar (&b);
19}
20