This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/62153] warn for bool expression compared with integer different from 0/1
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Aug 2014 09:39:39 +0000
- Subject: [Bug c++/62153] warn for bool expression compared with integer different from 0/1
- Auto-submitted: auto-generated
- References: <bug-62153-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62153
--- Comment #1 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> ---
This should be enabled in GCC bootstrap:
https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01555.html