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

23 lines
308 B
C
Raw Normal View History

2024-04-01 15:19:46 +00:00
/* { dg-options "-mdejagnu-cpu=power4 -O2 -fcompare-debug -frename-registers" } */
double m;
int n;
unsigned int
foo (unsigned int x, int y)
{
long long int a = y, b = !a;
int c = 0;
if (b != x)
while ((int) m == a)
{
c = a;
a = 0;
}
n = b = y;
return x + c;
}