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

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

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

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
This is warned by -Wparentheses (which is enabled by -Wall):

test.cc:9:8: warning: suggest parentheses around comparison in operand of ‘&’
[-Wparentheses]
   if (y&1 == 0)
        ^

You should use -Wall -Wextra before reporting bugs, as the bug reporting
instructions say.

(although the warning text has never sounded clear to me)

Reply via email to