https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104901
--- Comment #11 from Segher Boessenkool <segher at gcc dot gnu.org> --- $ cat vcc.c int f(int x) { return x == 31 && x == 42; } -Wlogical-op gives vcc.c: In function 'f': vcc.c:1:31: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op] 1 | int f(int x) { return x == 31 && x == 42; } | ^~ The mm_malloc.h code does not warn here (neither -m32 nor -m64 does).