https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86647
--- Comment #5 from Yann Droneaud <yann at droneaud dot fr> --- I've reproduced the issue with bool test(void) { return ((unsigned int)0 - 1) < 0; } See https://godbolt.org/z/b1QqIC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86647
--- Comment #5 from Yann Droneaud <yann at droneaud dot fr> --- I've reproduced the issue with bool test(void) { return ((unsigned int)0 - 1) < 0; } See https://godbolt.org/z/b1QqIC