This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/64609] No -Wbool-compare warning on "(a = 0 && 0) <= 4"
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Jan 2015 07:24:30 +0000
- Subject: [Bug c/64609] No -Wbool-compare warning on "(a = 0 && 0) <= 4"
- Auto-submitted: auto-generated
- References: <bug-64609-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64609
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |49706
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Note C the resulting type of a comparison is an integer and not a bool so this
might be causing part of the issue.
This is related to bug 49706 (which I think added -Wbool-compare, I can't keep
track of my own bugs :)).