[Bug c++/106774] warning about comparison to true/false

egallager at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 30 23:50:00 GMT 2022


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

Eric Gallager <egallager at gcc dot gnu.org> changed:

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

--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> that's more coding style though?

Yeah I personally prefer the more explicit way of writing it with both operands
myself


More information about the Gcc-bugs mailing list