https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64610
--- Comment #1 from Chengnian Sun <chengniansun at gmail dot com> ---
I have another test case, for which either -Wtype-limits or -Wbool-compare does
not warn.
$: cat s.c
void f(int b) {
(b == 1) >= 0UL;
}
$:
$: gcc-trunk -Wtype-limits -Wbool-compare -c s.c
$:
