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?