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

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Mikhail Maltsev from comment #4)
> Clang is more verbose:
> 
> ./test.c:4:11: warning: & has lower precedence than ==; == will be evaluated
> first [-Wparentheses]
>     x = y & 1 == 1;
>           ^~~~~~~~

I think even without the extra notes, clang's message is clearer. Now we only
need to convince a maintainer to approve such a patch.

Reply via email to