[Bug c++/60664] bool / out of range int comparison warning failure

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 13 01:15:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60664

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Put a break-point in build_binary_op then figure out where to warn (probably in
EQ_EXPR and NE_EXPR and other logical operators). Use debug_tree() to examine
the operands and figure out how to detect the correct cases.


More information about the Gcc-bugs mailing list