[Bug c/60759] -Wlogical-op should perhaps warn about two-way implicit conversions
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 4 14:59:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60759
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Marek Polacek from comment #1)
> We could perhaps implement clang's -Wconstant-logical-operand, but I must
> say I don't like it very much.
So work on something that you like, there so much to do in GCC, that you can be
choosy ;-) In particular, Wlogical-op is not enabled by Wextra because of some
known bugs. If those were fixed it would be extremely more useful than adding
more stuff to it.
What does Wconstant-logical-operand do?
More information about the Gcc-bugs
mailing list