[Bug c/77292] Spurious warning: logical not is only applied to the left hand side of comparison

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Aug 19 11:51:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77292

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |NEW
            Summary|value range propagation     |Spurious warning: logical
                   |(VRP) would improve         |not is only applied to the
                   |-Wlogical-not-parentheses   |left hand side of
                   |                            |comparison
      Known to fail|                            |6.1.1

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Clang doesn't warn about this.


More information about the Gcc-bugs mailing list