https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64609
Chengnian Sun <chengniansun at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|No -Wbool-compare warning |No -Wbool-compare warning |on "(a = 0 && 0) <= 4" |on "(a = 0 && 0) <= 4" and | |"0 > a < 0" --- Comment #2 from Chengnian Sun <chengniansun at gmail dot com> --- Another test case. $: cat s.c int a; void f() { (0 > a < 0); } $: $: gcc-trunk -Wbool-compare -Wtype-limits -c s.c $: