c-typeck.c (parser_build_binary_op): Don't call warn_logical_not_parentheses if the...
authorMarek Polacek <polacek@redhat.com>
Mon, 23 Jun 2014 16:38:48 +0000 (16:38 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Mon, 23 Jun 2014 16:38:48 +0000 (16:38 +0000)
commit47c2554f61d9b4e7e0326515ceef6f6169df6e78
tree327c8d98bb9373c549a6b3b08e8049a178069ae0
parent228e5d2b0cb64bad4f3f96a0723c14dd6a378c8b
c-typeck.c (parser_build_binary_op): Don't call warn_logical_not_parentheses if the RHS is TRUTH_NOT_EXPR.

* 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.

From-SVN: r211902
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr49706-2.c [new file with mode: 0644]