[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr105041.c
blobe5144b293a3a77bfe94d495dd954a1845df7e428
1 /* { dg-options "-mdejagnu-cpu=power4 -O2 -fcompare-debug -fharden-compares -frename-registers" } */
3 double m;
4 int n;
6 unsigned int
7 foo (unsigned int x, int y)
9 long long int a = y, b = !a;
10 int c = 0;
12 if (b != x)
13 while ((int) m == a)
15 c = a;
16 a = 0;
19 n = b = y;
21 return x + c;