This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49409] some possible new warnings for strange code
- From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Aug 2015 15:03:09 +0000
- Subject: [Bug c++/49409] some possible new warnings for strange code
- Auto-submitted: auto-generated
- References: <bug-49409-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49409
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
With -Wall -Wlogical-op we warn for all the cases except "if ((i - i) > 10)"
and I'm not sure if we really want a warning for this case.