http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53131
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
CC| |manu at gcc dot gnu.org
Depends on| |43772
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-26
21:58:33 UTC ---
(In reply to comment #0)
> I am somewhat surprised that -Wlogical-op isn't part of either -Wall
> or possibly -Wextra.
It could be in -Wextra for GCC 4.8.
> I've just tried -Wlogical-op out on a build of a recent Linux kernel
> and 90 warnings are produced, so there is some evidence that
> it would be useful.
Do the warnings indicate bugs or not?
There is also PR43772, which would be nice to fix before enabling this in -Wall
or -Wextra. However, I don't even have any idea why we are warning there.