* c-typeck.c (parser_build_binary_op): Don't call
commit499b73907af6e1d35a7e6fdc93a276e563512f94
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Jun 2014 16:38:48 +0000 (23 16:38 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 Jun 2014 16:38:48 +0000 (23 16:38 +0000)
tree327c8d98bb9373c549a6b3b08e8049a178069ae0
parent79cf3b316b32972536c17b76ecfd0d1642d35506
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211902 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/pr49706-2.c [new file with mode: 0644]