1/* { dg-do compile } */
2/* { dg-options "-O0 -msse" } */
3/* { dg-require-effective-target sse } */
4
5typedef float __vr __attribute__ ((vector_size (16)));
6
7struct vector
8{
9  union
10  {
11    __vr v;
12    float f[4];
13  };
14};
15
16void
17doit ()
18{
19  float f[4];
20  struct vector v;
21
22  f[0] = 0;
23  f[1] = 1;
24  f[2] = 2;
25  f[3] = 3;
26
27  v.v = __builtin_ia32_loadups (f);
28}
29