[Bug c/17946] wanted: warning for "a && MASK" when "a & MASK" was probably intended
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 12 14:27:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-12 14:27 -------
Really we should not warn because we could be doing a && CONST where we want CONST to be
compared against 0 so this is invalid.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17946
More information about the Gcc-bugs
mailing list