This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/64609] No -Wbool-compare warning on "(a = 0 && 0) <= 4"


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 :)).


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]