https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107465
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |11.3.0, 12.1.0, 6.1.0, | |8.1.0 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The diagnostic changed between GCC 9 and 10. 9: promoted ~unsigned is always non-zero 10: promoted bitwise complement of an unsigned value is always nonzero