[Bug c++/60664] bool / out of range int comparison warning failure
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 13 09:12:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60664
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to David Binderman from comment #5)
> This looks fixed to me, with the possible exception of the remaining
> warning in gcc trunk source code.
I think it is a different warning for which clang uses the same switch
(-Wbool-compare only warns about boolean expressions). It is also not obvious
that there is a bug there. Perhaps it is a false positive by Clang.
More information about the Gcc-bugs
mailing list