blob: c0be161ef4e71c2abd454882388b534d3670e264 [file] [log] [blame]
/* PR target/109977 */
/* { dg-do compile } */
/* { dg-options "-Og" } */
typedef double __attribute__((__vector_size__ (__SIZEOF_DOUBLE__))) V;
typedef double __attribute__((__vector_size__ (__SIZEOF_DOUBLE__*2))) W;
V v;
int i;
extern void bar (void *);
void
foo (void)
{
W w = __builtin_shufflevector (v, (W) { }, 0, 0);
bar (&w);
}