gcc/
commit0969aa9b3d99874b004c7cfc9dba1eba44ec7b7c
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 May 2009 18:36:44 +0000 (17 18:36 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 May 2009 18:36:44 +0000 (17 18:36 +0000)
tree3aa01e967c3a6466432e59fd7a374b018575b3e0
parenteac53a7cf5f7ae50cb7d4abc91ae6705d59a296d
gcc/

2009-05-17  Manuel López-Ibáñez  <manu@gcc.gnu.org>

PR c/40172
* c-common.c (warn_logical_operator): Don't warn if one of
expression isn't always true or false.

gcc/testscase/

2009-05-17  H.J. Lu  <hongjiu.lu@intel.com>

PR c/40172
* gcc.dg/pr40172.c: New.

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