| 1 |
/* PR tree-optimization/111913 */ |
| 2 |
|
| 3 |
int f(unsigned int x, unsigned int y) |
| 4 |
{ |
| 5 |
return __builtin_popcount (x&y) + __builtin_popcount (y|x--); |
| 6 |
} |
| 7 |
|
| 8 |
int f2(unsigned int x, unsigned int y) |
| 9 |
{ |
| 10 |
int t = __builtin_popcount (x&y); |
| 11 |
int t1 = __builtin_popcount (x|y); |
| 12 |
return t + t1; |
| 13 |
} |