[Bug c/64609] No -Wbool-compare warning on "(a = 0 && 0) <= 4"
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 15 07:24:00 GMT 2015
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 :)).
More information about the Gcc-bugs
mailing list