ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/s390/pr69148.c

17 lines
267 B
C

/* { dg-do compile } */
/* { dg-options "-O -march=z196 -m64 -w" } */
union U { int r; float f; };
struct A {
int a;
union U b[64];
};
double foo (double);
void
bar (struct A *z, int x)
{
union U y;
y.f = foo (z->b[x].f);
z->a = y.r ? 4 : y.r;
}