http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47729
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WONTFIX
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-02-14
17:31:02 UTC ---
> Since comparison between any boolean expression, not just != is valid for any
> types, why have any warns at all?
There are no boolean expressions involved here, only integer types with
different signedness. We warn because of the classical "unsigned >=0" pattern.