Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.target / i386 / pr39315-1.c
blob16ba5d59fe43c73d734aaa7ac9f86432e4472be4
1 /* PR middle-end/39315 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -msse2 -mtune=generic" } */
4 /* { dg-final { scan-assembler-not "movups" } } */
5 /* { dg-final { scan-assembler-not "movlps" } } */
6 /* { dg-final { scan-assembler-not "movhps" } } */
7 /* { dg-final { scan-assembler "movaps" } } */
9 typedef float __m128 __attribute__ ((__vector_size__ (16)));
11 extern void bar (__m128 *);
13 void
14 foo (__m128 *x)
16 __m128 b = *x;
17 bar (&b);