view gcc/testsuite/gcc.c-torture/compile/pr85945.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 84e7813d76e9
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];
}