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

27 lines
557 B
C
Raw Normal View History

2024-04-01 15:19:46 +00:00
// PR target/71763
// { dg-do compile }
// { dg-require-effective-target powerpc_vsx_ok }
// { dg-options "-O1 -mvsx" }
int a, b;
float c;
void fn2(void);
void fn1(void)
{
long d;
for (d = 3; d; d--) {
for (a = 0; a <= 1; a++) {
b &= 1;
if (b) {
for (;;) {
fn2();
c = d;
}
}
}
}
}