On Mon, 23 Jun 2014, Marek Polacek wrote:

> I think the latter is better, incidentally, g++ doesn't warn either.
> The following one liner makes cc1 behave as cc1plus.  Thanks for the
> report.
> 
> Regtested/bootstrapped on x86_64.  Joseph, is this ok?
> 
> 2014-06-23  Marek Polacek  <pola...@redhat.com>
> 
>       * c-typeck.c (parser_build_binary_op): Don't call
>       warn_logical_not_parentheses if the RHS is TRUTH_NOT_EXPR.
> 
>       * c-c++-common/pr49706-2.c: New test.

OK.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to