ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gcc.target/powerpc/pr79354.c

22 lines
406 B
C

/* PR target/79354 */
/* { dg-do compile } */
/* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-options "-mdejagnu-cpu=power8 -O2" } */
/* { dg-final { scan-assembler-not {\mstxssp\M} } } */
int b, f, g;
float e;
unsigned long d;
void
foo (int *a)
{
for (g = 0; g < 32; g++)
if (f)
{
e = d;
__builtin_memcpy (&b, &e, sizeof (float));
b = *a;
}
}