https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
int f(int x)
{
x = ~x;
int t = (x >= 0 ? x : 0);
int t1 = (x <= 0 ? -x : 0);
return t + t1;
}
```
abs(~x)
