[Bug c++/32270] warning for potential undesired operator& and operator== evaluation order
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jun 10 08:34:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-10 08:34 -------
The warning works on the trunk:
[pinskia-laptop:gcc/mips/gcc] pinskia% ./cc1plus t.c -W -Wall
int f(int, int)
t.c:3: warning: suggest parentheses around comparison in operand of &
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|(GCC) 4.0.1 (Apple Computer,|
|Inc. build 5367) |
GCC host triplet|powerpc-apple-darwin8-g++- |
|4.0.1 |
Keywords| |diagnostic
Summary|warning for potential |warning for potential
|undesired operator& and |undesired operator& and
|operator== evaluation order |operator== evaluation order
Version|4.3.0 |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32270
More information about the Gcc-bugs
mailing list