Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.c-torture / compile / 20011114-4.c
blob516ef4f2325602915602a5a546dd2d8416847af8
1 static inline int foo (long x)
3 register int a = 0;
4 register unsigned b;
6 do
8 b = (x & 0x7f);
9 x = (x >> 7) | ~(-1L >> 7);
10 a += 1;
12 while ((x != 0 || (b & 0x40) != 0) && (x != -1 || (b & 0x40) == 0));
13 return a;
16 static inline int bar (unsigned long x)
18 register int a = 0;
19 register unsigned b;
23 b = (x & 0x7f);
24 x >>= 7;
25 a++;
27 while (x != 0);
28 return a;
31 int
32 baz (unsigned long x, int y)
34 if (y)
35 return foo ((long) x);
36 else
37 return bar (x);