1 /* PR rtl-optimization/83682 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -msse2" } */
4 
5 typedef float V __attribute__((__vector_size__(16)));
6 typedef double W __attribute__((__vector_size__(16)));
7 V b;
8 W c;
9 
10 void
foo(void * p)11 foo (void *p)
12 {
13   V e = __builtin_ia32_cvtsd2ss (b, c);
14   V g = e;
15   float f = g[0];
16   __builtin_memcpy (p, &f, sizeof (f));
17 }
18