https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129035

--- Comment #2 from Lakshay <lakshayg.xyz at gmail dot com> ---
https://godbolt.org/z/4vGvc7s67

```
typedef long T; // integral types only

_Bool signbit1(T x) {
    return x < 0 ? 1 : 0;
}

_Bool signbit2(T x) {
    return x < 0;
}
```

This snippet shows the same issue with a C compiler.

Reply via email to