view gcc/testsuite/gcc.c-torture/compile/pr85945.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
line wrap: on
line source

/* PR target/85945 */

typedef float V __attribute__((vector_size(16)));
union U { V v; float f[4]; };
int f;
float g[4];

void
foo (void)
{
  V d;
  union U i;
  i.v = d;
  for (f = 0; f < 4; f++)
    g[f] = i.f[f];
}